Log In  


Cart #knucklebones-6 | 2024-07-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
11

Knucklebones

Controls

⬅️⬆️➡️⬇️ Move cursor ❎/X or 🅾️/Z Select

Rules

Each player has a 3x3 grid, organized into three columns. They take turns rolling a die and placing it into an open spot in their grid. If there is a matching die in their opponent's matching column, the opponent must remove all matching dice in that column. When one player's grid is full, the game is over and the player with the highest score is the winner.

Scoring

Each column is calculated separately, then added to the player's total score. If there are matching dice in the column, their values are added together and multiplied by the amount of matching dice.

Credits

This is a PICO-8 adaptation of the dice mini-game Knucklebones from Cult of the Lamb. I wanted to keep playing it on my Miyoo Mini so I took the opportunity to learn a little about game dev and the PICO-8. This is the first time I've made a game and I really enjoyed the process. I hope you enjoy it too! All the coding and art is by me.

Links

11


runtime error line 111 tab 4
	if selector.position > selector.options then
attempt to compare number with nil
at line 0 (tab 0)

Small bug happens sometime after win/lose on moving right on first roll.

Nice game, congrats!


Thank you! For some reason, I can't make that error happen myself even though a bunch of folks are getting it. I think I just fixed it haha. Cheers!


1

That's a neat little dice game! I enjoy the fast pace and the depth that emerges from the simple rules. Thank you for sharing!


1

I love playing Knucklebones so much in Cotl that it makes me very happy to see someone coded it into a Pico8 version


I believe I have fixed the win state of the game, so that now you can get a tie. I forgot to delete a single '=' and ties weren't working before, but they should be now. Thanks for playing!

Cart #knucklebones-7 | 2024-09-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA



[Please log in to post a comment]