Search found 24 matches

by manyone
Dec 19th, '19, 07:45
Forum: Projects
Topic: a study of loops, arrays and strings
Replies: 1
Views: 39

a study of loops, arrays and strings

this was one of my first programs in GP
12daysofxmas.jpg
xmas12days.gpp
(6.36 KiB) Downloaded 2 times
by manyone
Jul 24th, '19, 00:16
Forum: Projects
Topic: Rosh Hashanah calculator
Replies: 0
Views: 861

Rosh Hashanah calculator

there is nothing religious about this post. i'm not jewish but i've always been fascinated by calendars and the formulas behind them. the hebrew calendar is special because its formula evolved from apparent astrological and seasonal observations throughout history and its current form involves a lot...
by manyone
Jul 17th, '19, 06:30
Forum: Working with GP
Topic: Excel serial dates conversion in GP
Replies: 0
Views: 888

Excel serial dates conversion in GP

i'm attaching functions for converting Excel serial dates to YMD dates and back. Excel serial dates represents the number of days since 12/31/1899 . Excel has a bug - it treats 1900-2-29 as a leap date when in fact it's invalid, since 1900 is not a leap year. These 2 functions replicate the same beh...
by manyone
Jul 8th, '19, 08:59
Forum: Projects
Topic: Pentominoes in GP
Replies: 0
Views: 541

Pentominoes in GP

the challenge of pentominoes is to fit all 12 pieces (each piece having 5 cells) to cover an area of 60 cells. amazingly, these 12 pieces can fully cover these rectangles: 6x10, 5x12, 4x15 and 3x20, each rectangle having an area of 60 cells of course. the pieces can also cover an 8x8 chessboard with...
by manyone
Jul 7th, '19, 05:49
Forum: Projects
Topic: Knight's Tour in GP
Replies: 0
Views: 528

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 ...
by manyone
Apr 1st, '19, 05:14
Forum: Projects
Topic: 8 queens in GP
Replies: 1
Views: 442

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...
by manyone
Nov 21st, '18, 03:30
Forum: Projects
Topic: sudoku solver in GP!
Replies: 2
Views: 705

Re: sudoku solver in GP!

gee thanks!
by manyone
Nov 15th, '18, 04:57
Forum: Projects
Topic: sudoku solver in GP!
Replies: 2
Views: 705

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...
by manyone
Nov 12th, '18, 12:48
Forum: Bugs
Topic: copy costume from <dirlist> doesnt work in exported app
Replies: 2
Views: 682

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)
by manyone
Nov 12th, '18, 11:46
Forum: Bugs
Topic: copy costume from <dirlist> doesnt work in exported app
Replies: 2
Views: 682

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...