summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fourteen/server.rkt: Add tests for get-ipsrsiddharth2020-07-031-0/+16
|
* fourteen/server.rkt: Update serialize-players-forrsiddharth2020-07-031-1/+1
| | | | Use foldr instead of foldl.
* fourteen/server.rkt: Updat serialized universe sent to clients.rsiddharth2020-07-031-1/+34
| | | | | | | Now, in the serialized universe sent to the players, all the waypoints except the first one are removed from the serialized player struct for all players except the player for which the serialized universe is constructed.
* fourteen/server.rkt: Fix test.rsiddharth2020-07-031-2/+2
|
* fourteen: server.rkt: Update progress.rsiddharth2020-06-301-1/+8
| | | | End game when one of the player's score is greater than 30.
* fourteen: server.rkt: Update eat-all-the-thingsrsiddharth2020-06-291-3/+6
| | | | Make new cupcakes appear on the screen every other time one is eaten.
* fourteen: server.rkt: Update eat-all-the-thingsrsiddharth2020-06-291-1/+3
| | | | Make a new cupcake appear on the screen every other time one is eaten.
* Addd net/ricketyspace/ror/fourteen/rsiddharth2020-06-297-0/+1845
|
* net/ricketyspace/ror/thirteen/server.rkt: Update handle-msg-guesserrsiddharth2020-06-211-4/+6
|
* Add net/ricketyspace/ror/thirteenrsiddharth2020-06-214-0/+377
|
* net: twelve/source.rkt: Fix won.rsiddharth2020-02-131-1/+3
|
* ror: Update twelve/source.rkt.rsiddharth2020-02-051-3/+10
| | | | Display different help text at the bottom when it's the AI's turn.
* net: Update ror/twelve.rsiddharth2020-01-211-6/+12
| | | | Add AI step through.
* Add net/ricketyspace/ror/twelve.rsiddharth2019-12-175-0/+1225
|
* Add net/ricketyspace/ror/eleven/lazy.rktrsiddharth2019-11-251-0/+23
|
* net/ricketyspace/ror/ten/source.rkt: Updat eadd-winning-probability.rsiddharth2019-11-181-2/+3
|
* net/ricketyspace/ror/ten/source.rkt: Update draw-dice-world.rsiddharth2019-11-141-1/+1
|
* net/ricketyspace/ror/ten/source.rkt: Add add-winning-probability.rsiddharth2019-11-141-0/+23
|
* net/ricketyspace/ror/ten/source.rkt: Add probability-of-winning.rsiddharth2019-11-141-0/+76
|
* net: ror/ten/source.rkt: Update attacking.rsiddharth2019-09-261-1/+8
| | | | | | Roll dice to decide the winner for the attack. This kinda completes challenge one in ch. 10.
* net: ror/ten: Add dice-world-attack-lost.rsiddharth2019-09-261-0/+13
| | | | net/ricketyspace/ror/ten/source.rkt
* net: ror/ten/sourc.rkt: Add dice-attack-win.rsiddharth2019-09-261-0/+13
|
* net: Add ror/ten.rsiddharth2019-09-235-0/+1085
|
* net/ricketyspace/ror/eight/orc.rkt: Add hydrar monster.rsiddharth2019-07-162-4/+11
| | | | Can penetrate player's armor. Fuck.
* net: orc.rkt: Add block action.rsiddharth2019-01-291-7/+24
| | | | | | | * net/ricketyspace/ror/eight/orc.rkt (BLOCK): New constant. (player-acts-on-monsters): Add handling for block action. (block): New function (all-monsters-attack-player): Add armor block handling.
* net: orc.rkt: Equip player with `armor` property.rsiddharth2019-01-281-26/+36
| | | | | | | | | * net/ricketyspace/ror/eight/orc.rkt (player): Add armor property. (MAX-ARMOR, ARMOR, ARMOR-COLOR): New constants. (initialize-player): Set armor property. (player-armor+): New function. (render-player): Add armor block. (module+ test): Update player inits.
* net: orc.rkt: Add masturbate action.rsiddharth2019-01-281-2/+22
| | | | | | | | * net/ricketyspace/ror/eight/orc.rkt (MASTURBATE-DAMAGE): New constant. (INSTRUCTIONS-1): Add instruction for masturbate action. (player-acts-on-monsters): Add handling for masturbate key "m". (masturbate): New function.
* net: Add eight/orc.rktrsiddharth2019-01-289-0/+892
|
* .gitignore: Add compiled/rsiddharth2019-01-281-1/+2
|
* net: snakes.rkt: Fix snake-colliding?rsiddharth2018-07-081-1/+5
| | | | | * net/ricketyspace/ror/six/snakes.rkt (snake-colliding?): Update function.
* net: Add ricketyspace/ror/six/snakes.rkt.rsiddharth2018-07-011-0/+358
|
* net: snake.rkt: Add obstacles.rsiddharth2018-06-132-7/+64
| | | | | | | | | | | * net/ricketyspace/ror/six/resources/obstacle.gif: New file. * net/ricketyspace/ror/six/snake.rkt (pit): Update struct. (obstactle): New struct. (OBSTACLE-EXPIRATION-TIME, OBSTACLE-IMG): New constants. (start-snake, next-pit, render-pit, dead?, world-change-dir): Update functions. (age-obstacle, renew-obstacles, rot-obstacles, obstacle-expired?) (decay-obstacle, fresh-obstacle, obstacle-list+scene) (obstacle-colliding?): New functions.
* net: snake.rkt: Update fresh-goos.rsiddharth2018-06-121-1/+1
| | | | * net/ricketyspace/ror/six/snake.rkt (fresh-goos): Update function.
* net: ricketyspace/ror/six/snake: Show type 2 goo in red.rsiddharth2018-06-122-4/+9
| | | | | | * net/ricketyspace/ror/six/snake.rkt (GOO-RED-IMG): New constant. (goo-list+scene): Update function. * net/ricketyspace/ror/six/resources/goo-red.gif: New file.
* net: snake.rkt: Update next-pit.rsiddharth2018-06-081-1/+2
| | | | | * net/ricketyspace/ror/six/snake.rkt (next-pit): Update function.
* net: snake.rkt: Add grow-size.rsiddharth2018-06-081-0/+4
| | | | * net/ricketyspace/ror/six/snake.rkt (grow-size): New function.
* net: snake.rkt: Update goo struct.rsiddharth2018-06-081-3/+4
| | | | | * net/ricketyspace/ror/six/snake.rkt (goo): Add `type`. (decay, fresh-goo): Updat functions.
* net: Update snake.rktrsiddharth2018-05-301-3/+9
| | | | | * net/ricketyspace/ror/six/snake.rkt (eat, renew): Update functions. (fresh-goos): New function.
* net: Update snake.rkt.rsiddharth2018-05-171-6/+11
| | | | | | | Do Chapter 6 challenge 01. * net/ricketyspace/ror/six/snake.rkt (pit): Add field dinged. (next-pit, render-end, world-change-dir): Update functions.
* net: Add snake.rkt.rsiddharth2018-05-175-0/+216
| | | | | | | | * net/ricketyspace/ror/six/resources/body.gif: New file. * net/ricketyspace/ror/six/resources/goo.gif: New file. * net/ricketyspace/ror/six/resources/head.gif: New file. * net/ricketyspace/ror/six/resources/tail.gif: New file. * net/ricketyspace/ror/six/snake.rkt: New file.
* net: five: ufo.rkt: Make UFO fart when it moves.rsiddharth2018-04-183-24/+228
|
* net: Refactor ufo.rkt.rsiddharth2018-04-181-12/+59
| | | | | | Move it movable using arrow keys. * net/ricketyspace/ror/five/ufo.rkt: Update file.
* net/ricketyspace/ror/five/guess.rkt: Track guesses.rsiddharth2018-04-111-6/+18
| | | | | | | * net/ricketyspace/ror/five/guess.rkt (interval): Add member guesses. (GUESSES-SIZE, GUESSES-COLOR): New constants. (start, smaller, bigger, render, render-last-scene): Update functions.
* net: Add loco.rkt.rsiddharth2018-04-033-0/+184
| | | | | | * net/ricketyspace/ror/five/loco.rkt: New file. * net/ricketyspace/ror/five/resources/caroille.png: New file. * net/ricketyspace/ror/five/resources/caroille.svg: New file.
* Add net/ricketyspace/ror/five/guess.rktrsiddharth2018-03-201-0/+63
|
* Add net/ricketyspace/ror/five/ufo.rktrsiddharth2018-03-103-0/+151
|
* Add net/ricketyspace/ror/two/guess.rkt.rsiddharth2018-03-101-0/+21
|
* Add net/ricketyspace/ror/one/hw.rktrsiddharth2018-03-101-0/+3
|
* Add .gitignore.rsiddharth2018-03-101-0/+1