from Hacker News

Show HN: My first JavaScript game/app

by 404error on 7/8/15, 12:50 AM with 3 comments

  • by 404error on 7/8/15, 12:50 AM

    OP here.

    FAIR WARNING: Aside from the Javascript course on Codecademy I have no prior experience working with Javascript.

    About the game: It's a simple memory game (match rapper faces), it looks awful since its a work in progress. There is some jQuery code to handle animations and other random things.

    To do (Growing list): Add sounds for each pair of tiles. Fix the overall presentation. Add a button to reset the board and add credits when the player runs out or wins. I also need to figure out how to shuffle the board so that the tiles are in different positions after refresh. I'm using an object to hold the key,value pairs.

    Request: Be brutal with your feedback, tough skin here. I'm not concerned about what it looks like. I'm more interested in what others think of the code structure.

    Thanks in advance. Feel free to break it. :)