Nice!
You made the solver in freebasic as well?
How long did it took to find all the solutions?
Search found 2577 matches
- May 29, 2010 23:22
- Forum: Archive
- Topic: 500 solutions to bad idea's small puzzle game.
- Replies: 5
- Views: 7710
- May 15, 2010 12:35
- Forum: General
- Topic: This may be daft but I must ask it
- Replies: 10
- Views: 2016
Code: Select all
#Include Once "fbgfx.bi"
Dim pic As Any Ptr
pic = ImageCreate(75,20)
ScreenRes 640,480,32,, '<-- !
Bload "C:\JPoSlogo.bmp", pic '<-- !
Put(5,5),pic,Pset
ImageDestroy(pic)
Sleep
- May 14, 2010 21:12
- Forum: General
- Topic: Bug with file I/O?
- Replies: 10
- Views: 1920
Ok, I get the run-time error now, but I still think it is odd behavior. That reading behind eof gives an error, I understand. But that writing behind eof also gives an error, seems odd to me. I expect that the file simply increases in size. And that eof is set to the new position by the put statemen...
- May 14, 2010 20:09
- Forum: General
- Topic: Bug with file I/O?
- Replies: 10
- Views: 1920
- May 14, 2010 16:05
- Forum: General
- Topic: Bug with file I/O?
- Replies: 10
- Views: 1920
Bug with file I/O?
Hello, I'm not sure if this is the right place, but I think I found a bug with file I/O, concerning get, put & seek statements. See code: dim as integer file dim as string fileName = "buffer.tmp" dim as byte bufferOut(59), bufferIn(59) file = freefile 'Make file, write 60 bytes open fi...
- May 11, 2010 16:36
- Forum: Projects
- Topic: Small puzzle game
- Replies: 20
- Views: 8251
Good Suggestions. - Right mouse button is a debug feature (if you define debug 0, it is disabled). - I have to look in to this flicker, removing 'screensync' in line 173 improves things. I have plans to implement an automatic solver and/or store found solutions, but this will take some time. Update:...
- May 10, 2010 20:49
- Forum: Projects
- Topic: Small puzzle game
- Replies: 20
- Views: 8251
@rolliebollocks:
I will upgrade to the latest compiler version
@dkl
Ubongo, seems to use smaller shapes as well, but this wikipedia item looks useful:
http://en.wikipedia.org/wiki/Pentamino
I will upgrade to the latest compiler version
@dkl
Ubongo, seems to use smaller shapes as well, but this wikipedia item looks useful:
http://en.wikipedia.org/wiki/Pentamino
- May 09, 2010 23:24
- Forum: Projects
- Topic: Small puzzle game
- Replies: 20
- Views: 8251
Small puzzle game
Hello all, I made small game in which you have to place tetris-like tiles in a square. There are about 2000 unique solutions, but finding 1 can be hard. I think a screen shot explains it all: http://www.xs4all.nl/~nr100/badidea/pentrix_fb.png My parents used to have this small puzzle game in real, s...
- Jun 14, 2007 23:44
- Forum: General
- Topic: integer bug
- Replies: 3
- Views: 1425
If the previous suggestion did not work, than read this:
http://www.freebasic.net/forum/viewtopic.php?t=4708
http://www.freebasic.net/forum/viewtopic.php?t=4708
- May 25, 2007 8:39
- Forum: Projects
- Topic: A checkers program
- Replies: 6
- Views: 3957
Maybe, I should call it "International draughts" or "Polish draughts":
http://en.wikipedia.org/wiki/International_draughts
http://en.wikipedia.org/wiki/International_draughts
- May 24, 2007 22:39
- Forum: Projects
- Topic: A checkers program
- Replies: 6
- Views: 3957
A checkers program
And tell me what the highest level is you can win from. I couldn't do more than level 3. (On slow computers, level 6 will be... well, not so fast).
As I said, have fun!
As I said, have fun!
- May 24, 2007 22:18
- Forum: Projects
- Topic: A checkers program
- Replies: 6
- Views: 3957
A checkers program
Hello all, I just made my first program in FreeBasic: a checkers program! It should work under windows. I did not get it graphics working under linux so far. Anyone a good idea how run it on a remote linux machine via an x-window server? '----------------------------------------------- OPTION EXPLIC...