Code Monkey home page Code Monkey logo

fitgamepack's People

Contributors

amir-hadzic avatar

Stargazers

 avatar

Watchers

 avatar  avatar

fitgamepack's Issues

Improve TicTacToe design

The design of the TicTacToe sample should be improved. The design should use a warm color palette and simple design elements.

Add suport for custom message broadcasting

Custom message broadcasting should be implemented as it could be useful for events such as collision detection alert or other custom alerts that users might want to define. This feature should be first designed and then implemented.

Fix the typing logic in Typer

Typer's typing logic if sloopy. There should only be one word that is checked for valid key strokes and that's the one that is being typed (instead of every word entity checking for valid keystrokes on the keyDown event). If no word is being typed then the words should be searched from bottom to top.

Create a grid entity class for TicTacToe

TicTacToe is currently using the GridEntity to implement some game logic and this has resulted with the GridEntity destroying the entities that are not created by it in its destructor and in removeEntity(). This is fine for the TicTacToe sample but will probably be problematic if used in other games.

A special grid entity class should be created for the TicTacToe sample and the GridEntity class should be fixed to not delete anything that wasn't allocated by it.

Cross-browser message box for runtime messages.

A message box with custom title and message body should be implemented in Fitgy so that any applications using Fitgy can show runtime errors (when a file is missing for example). Optionally, the user should be able to specify weather it's an error, warning or info message (the appropriate icon should appear in the message box).

Refactor the current code to use smart pointers

Use std::auto_ptr instead of raw pointers where appropriate in Fitgy classes. std::auto_ptr should be used only for those members that are allocated inside the same class where they are declared.

Use SDL_image library for the ImageEntity.

SDL_image supports many formats (BMP, PNM, XPM, LBM, PCX, GIF, JPEG, PNG, TGA, and TIFF) and it's hopefully going to simplify the usage of transparent images (using the PNG format). It should be only required to change the way ImageEntity handles image loading, no changes are required in the sample games.

Implement the game logic in Typer

The only thing that's left to make Typer playable is the game logic. The speed of the falling words should be computed from the scored points or from the elapsed time of the background music track.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.