PSP homebrew logic game: Nim v0.02

Posted Apr 27, 2009 at 11:53AM by QJ Staff Listed in: Homebrew Games Tags: Indrora, Lua
Ó


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:


 
 
 

Comments

by AzuBlazer - 2009-04-28 10:42:04
Uhh...

...Cool?

Add New Comment




You must be logged in to post comments




Add QJ.NET
Add to My Yahoo!
Google Reader Subscribe with Bloglines
Add  to your Kinja digest Subscribe in NewsGator Online
Subscribe with Pluck RSS reader Add 'www.qj.net' to Newsburst from CNET News.com
Subscribe with SearchFox RSS del.icio.us www.qj.net
Add to Technorati Favorite! Add to My AOL
furl! it Stumble for Treehugger!