| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Roll dice to decide the winner for the attack.
This kinda completes challenge one in ch. 10.
|
|
|
|
| |
net/ricketyspace/ror/ten/source.rkt
|
| |
|
| |
|
|
|
|
| |
Can penetrate player's armor. Fuck.
|
|
|
|
|
|
|
| |
* 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/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/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/ricketyspace/ror/six/snakes.rkt
(snake-colliding?): Update function.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/ricketyspace/ror/six/snake.rkt (fresh-goos): Update function.
|
|
|
|
|
|
| |
* 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/ricketyspace/ror/six/snake.rkt
(next-pit): Update function.
|
|
|
|
| |
* net/ricketyspace/ror/six/snake.rkt (grow-size): New function.
|
|
|
|
|
| |
* net/ricketyspace/ror/six/snake.rkt (goo): Add `type`.
(decay, fresh-goo): Updat functions.
|
|
|
|
|
| |
* net/ricketyspace/ror/six/snake.rkt (eat, renew): Update functions.
(fresh-goos): New function.
|
|
|
|
|
|
|
| |
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/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.
|
| |
|
|
|
|
|
|
| |
Move it movable using arrow keys.
* net/ricketyspace/ror/five/ufo.rkt: Update file.
|
|
|
|
|
|
|
| |
* 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/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.
|
| |
|
| |
|
| |
|
|
|