PSP homebrew logic game: Nim v0.02

Nim - Image 1Are you good with numbers? PSP homebrew newcomer Indrora has released Nim for the PSP, his Lua-coded  rendition of the classic logic game. The mechanics of Nim are simple: it involves two players taking away a certain number of objects from a heap. Whoever ends up having to take the last piece in the pile loses.

Download: Nim v0.02
Visit: QJ.NET PSP development forums

Nim - Image 1 Nim - Image 2 

How are you with numbers? While I’m not really fond of math, this homebrew game actually involves more of logic. PSP homebrew newcomer Indrora has released Nim for the PSP, his Lua-coded  rendition of the classic logic game.

The mechanics of Nim are simple: it involves two players taking away a certain number of objects from a heap. Whoever ends up having to take the last piece in the pile loses.

The initial release of Nim was yesterday, but since then, Indrora has come up with an update for some bug fixes. Here’s the version history:

  • Initial Release (0.01)
    • Its out there now! woohoo!
  • Second Release (0.02)
    • Found a big crash where for whatever reason, there was a really nasty hang when trying to exit when at endgame or about screen. Offending code was a simple while(pge.controls.presse d() == false) do pge.controls.update() end loop, just added “and pge.running()” to check for running state.
    • Updated the graphics a tad. Now the main background is simpler and there’s more information on the about(/help) screen.

As I stated earlier, this is a game of logic rather than math. See, the reason why it’s logic is because there is a way to always win the game of Nim. Depending on the mechanics of the game (the initial size of the heap and the allowable number of objects you can take away), a simple principle can be applied to always make your opponent end up taking the last piece in the pile.

Download: Nim v0.02
Visit: QJ.NET PSP development forums


Related articles:

Add a Comment

Your email address will not be published. Required fields are marked *