Search found 40 matches
- Jul 7th, '19, 05:49
- Forum: Projects
- Topic: Knight's Tour in GP
- Replies: 0
- Views: 21180
Knight's Tour in GP
From wikipedia: A knight's tour is a sequence of moves of a knight on a chessboard such that the knight visits every square only once. If the knight ends on a square that is one knight's move from the beginning square (so that it could tour the board again immediately, following the same path), the ...
- Apr 1st, '19, 05:14
- Forum: Projects
- Topic: 8 queens in GP
- Replies: 1
- Views: 6648
8 queens in GP
i wrote this program as a way of learning GP by immersion. It's the classic 8-queens problem of putting 8 queens on a chessboard such that no queen is under attack by any other queen. (the program displays the placement of the 8 queens on the chessboard for half a second after each solution is found...
- Nov 21st, '18, 03:30
- Forum: Projects
- Topic: sudoku solver in GP!
- Replies: 2
- Views: 7679
Re: sudoku solver in GP!
gee thanks!
- Nov 15th, '18, 04:57
- Forum: Projects
- Topic: sudoku solver in GP!
- Replies: 2
- Views: 7679
sudoku solver in GP!
here's another one of my "useless" (but fun!) projects - a sudoku solver. enter the puzzle board as a long string of nine segments (separated by a space), each segment consisting of 9 digits (0 means blank cell) corresponding to pattern of digits in each row. a couple of puzzles are supplied for cut...
- Nov 12th, '18, 12:48
- Forum: Bugs
- Topic: copy costume from <dirlist> doesnt work in exported app
- Replies: 2
- Views: 6810
Re: copy costume from <dirlist> doesnt work in exported app
worked like a charm! thanks for the quick response! (i just have to remember to use PNG formats)
- Nov 12th, '18, 11:46
- Forum: Bugs
- Topic: copy costume from <dirlist> doesnt work in exported app
- Replies: 2
- Views: 6810
copy costume from <dirlist> doesnt work in exported app
i have a small app that performs some process against a supplied image - during"regular" (interpreted) mode it allows the user to select file from the drop down part of the 'copy costume..' block. when exported to app as is, the executable works but it doesn't allow the selection of an image. it use...
- Nov 9th, '18, 07:49
- Forum: Projects
- Topic: img2txt - convert a jpg to ascii
- Replies: 0
- Views: 21488
img2txt - convert a jpg to ascii
i know this project is kind of "retro" but i have always been fascinated how they did this stuff in the old days. I was excited to find out that i was able to do it in GP. I translated the basic code from a project i saw in github (https://github.com/hit9/img2txt) and recoded it into GP. to use it, ...
- Oct 23rd, '18, 02:09
- Forum: Extending GP
- Topic: A way to add 'Infinite' Integers?
- Replies: 4
- Views: 11785
Re: A way to add 'Infinite' Integers?
it works in its current form but i have to right click on the input boxes so they change from oval (numeric input) to rectangle (string input) before i enter my data. (see image).
however, after i applied your fix, i don't have to think about doing that anymore! thanks!
however, after i applied your fix, i don't have to think about doing that anymore! thanks!
- Oct 22nd, '18, 05:00
- Forum: Extending GP
- Topic: A way to add 'Infinite' Integers?
- Replies: 4
- Views: 11785
Re: A way to add 'Infinite' Integers?
as an exercise, i translated the code to GP! (https://www.geeksforgeeks.org/multiply- ... s-strings/)
- Jan 4th, '18, 07:51
- Forum: Extending GP
- Topic: myZip and myZipWith functions ala haskell
- Replies: 8
- Views: 19028
Re: myZip and myZipWith functions ala haskell
worked like a charm! thank you! this block extension mechanism is totally awesome! we can share code, programs and whole libraries and it's so easy.