Search found 26 matches

by manyone
Mar 18th, '20, 22:43
Forum: Projects
Topic: Quiz Maker in GP
Replies: 2
Views: 519

Re: Quiz Maker in GP

it worked like a charm! thanks a lot Spiralo-Idioïde !
by manyone
Mar 18th, '20, 04:52
Forum: Projects
Topic: Quiz Maker in GP
Replies: 2
Views: 519

Quiz Maker in GP

san francisco being in lock down mode and me in self quarantine mode (i've had this cold for 3 days), i thought it would be nice to create a quiz maker program that could be set up easily (using a simple CSV) and yet provide filtering by quiz group, instant feedback, score taking, randomized questio...
by manyone
Dec 19th, '19, 07:45
Forum: Projects
Topic: a study of loops, arrays and strings
Replies: 1
Views: 363

a study of loops, arrays and strings

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

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: 1704

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: 1021

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: 996

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: 764

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: 1133

Re: sudoku solver in GP!

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

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