Search found 24 matches

by 3622
Jan 31, 2024 17:24
Forum: Game Dev
Topic: Rubik's Cube again
Replies: 0
Views: 1004

Rubik's Cube again

Another Rubik's Cube effort. To rotate "slices" : Left mouse button and drag in required direction. Drag for approximately half a cube. The mouse must remain in the boundaries of the selected "slice" To rotate whole cube : Right mouse button and drag in required direction. Drag f...
by 3622
Oct 12, 2023 20:47
Forum: Game Dev
Topic: Magic Square Math Puzzle Solver
Replies: 2
Views: 1686

Re: Magic Square Math Puzzle Solver

Here's my take on it, but with no timer. ' Magic Square 3 x 3 screen 18 randomize dim as integer n(8), i, r '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' function wincheck (n() as integer) as integer dim as integer total total = n(0) + n(1) + n(2) if n(3) + n(4) + n(5) <> ...
by 3622
Oct 30, 2021 20:56
Forum: Game Dev
Topic: Engel's enigma - a simple rotating disc puzzle.
Replies: 4
Views: 2186

Re: Engel's enigma - a simple rotating disc puzzle.

Hi Badidea Thanks for your feedback. Dewdney says "Engel writes that several people adept at Rubik's cube have not been able to get anywhere with the puzzle" I totally agree. Considering that it is only shuffled 10 times it appears to be extremely difficult to me. I have yet to discover wa...
by 3622
Oct 28, 2021 19:06
Forum: Game Dev
Topic: Engel's enigma - a simple rotating disc puzzle.
Replies: 4
Views: 2186

Engel's enigma - a simple rotating disc puzzle.

Shuffle the two discs and then unscramble them back to their original starting position. Invented by Douglas A Engel and features in The Armchair Universe by A K Dewdney. Requires Multiput.bi ( thanks to D J Peters). I include it in the same directory . The top arrow buttons rotate the top disc cloc...
by 3622
Oct 23, 2020 21:55
Forum: Game Dev
Topic: Simplicity
Replies: 8
Views: 2559

Re: Simplicity

@ Tourist Trap

I admire your perseverance ( and honesty) !
by 3622
Oct 23, 2020 21:49
Forum: Game Dev
Topic: 4Balls another sliding block puzzle
Replies: 6
Views: 2119

Re: 4Balls another sliding block puzzle

@fxm
Sorry !

I have now edited the original post.


@paul doe
Wow ! I'm impressed.

My first attempt resulted in defeat after many, many hundreds of moves.
by 3622
Oct 23, 2020 21:40
Forum: Game Dev
Topic: 4Balls another sliding block puzzle
Replies: 6
Views: 2119

Re: 4Balls another sliding block puzzle

My apologies Tourist Trap.

Right click on coloured piece and drag to move. Black indicates an empty space. You can only move into an empty space.

Similar to Simplicity puzzle.
by 3622
Aug 19, 2020 21:44
Forum: Game Dev
Topic: 4Balls another sliding block puzzle
Replies: 6
Views: 2119

4Balls another sliding block puzzle

Here's another slider in the same vein as Simplicity. Just move the 4 coloured round pieces to their respective coloured (home or goal) positions. To slide a coloured piece : right click and drag. A coloured piece can only move to into an empty space ( black = empty). A home or goal square is a vali...
by 3622
Aug 19, 2020 21:32
Forum: Game Dev
Topic: Simplicity
Replies: 8
Views: 2559

Re: Simplicity

Thanks to you all for trying Simplicity and for your replies. Badidea, I tried changing Sleep to 1, and on my setup, PCLinuxos KDE 5Plasma, it made no noticeable difference but rebooting to same OS under XFCE there was a definite improvement. However, my mouse setup in XFCE is very sensitive ( the m...
by 3622
Jul 16, 2020 21:18
Forum: Game Dev
Topic: Simplicity
Replies: 8
Views: 2559

Simplicity

Simplicity is a 2D sliding block puzzle, my small and simple lockdown offering. Just get the red block to the top left corner. Tested on Linux 64 but should work on 32 bit and Windows. It may amuse someone for 2 minutes. ' simplicity.bas screenres 400,400 width , 400 / 16 const as ulong mask = 41671...
by 3622
Jan 30, 2019 21:48
Forum: Beginners
Topic: Shaped Window with mouse area problem
Replies: 8
Views: 2747

Re: Shaped Window with mouse area problem

Hi Forgotten Coder, I've modified your original code. It seems better now ( tested on Linux only but should be OK on Windows). Not sure about the 'violent' mouse movement though. Take it easy. #include "fbgfx.bi" Using fb dim e As EVENT dim as integer mxpressed, mypressed, mx, my, mxold, m...
by 3622
Sep 03, 2018 20:20
Forum: Linux
Topic: Geany FBC Build Command Not Working
Replies: 3
Views: 4127

Re: Geany FBC Build Command Not Working

Hi throwingmuse and welcome, I think the problem is Geany not finding your command line terminal. Go to Geany -> Preferences -> Tools and make sure the Terminal field is set correctly. I had to set mine to xterm -e "/bin/sh %c". You may have to put whatever is your terminal name in place o...
by 3622
Aug 16, 2017 20:46
Forum: Game Dev
Topic: Game programming competition....
Replies: 7
Views: 3100

Re: Game programming competition....

All entries must be in by Oct 31st @ 23:59:59 GMT.