Coder Social home page Coder Social logo

dungeon-battle's People

Contributors

dreadbonney avatar esum avatar naarakah avatar remi-dupre avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dungeon-battle's Issues

Monsters

Monsters appear on the map, and move along some predefined path.

Remake the render module

The rendering module is currently very messy, and a lot of informations about textures and sprites are hardcoded.

Edges of the map

There are some cells appearing oddly at the edges of the map, they can also be blinking when you move.

capture d ecran de 2018-01-09 09-19-13
capture d ecran de 2018-01-09 09-20-38
capture d ecran de 2018-01-09 09-34-56

ASCII mode

We should add an ASCII-based rendering mode.

Graphics

The graphics can either be 2D or text based. There is a window where the board is displayed.

Body snatch

We should add a spell that exchanges the hero with another monster of the game. The player will control the monster after that.

Lighting

We should add an algorithm that tells if a specified cell can see another, to make the monsters ai more realistic, for example they should not see the hero through a wall.

More NPCs

The game currently features only one enemy, we should add more diversity.

Testing in build system

Running cppcheck never causes make test (and hence CI) to fail. To change this, consider using the --error-exitcode option.

I'm also wondering why cppcheck seems to report less things on Travis than on my machine.

Finally, it seems to me that the default target should be release alone. Full tests should not be included as they have become quite heavy.

Controls

The player is controlled with zqsd and can move through the level.

Decide the structure of the program

  • Configuration structure
  • Definission of a structure representing the game
  • Definission of how to represent maps, games and all gameplay elements

Board

The game is played on a series of dungeon levels which are simple square grids. The grid cells may be empty, walls, or floor.

Add textures

  • Textures for the tiles
  • Random texture for a more realistic effect
  • Textures for the entities

Save & restore

We should add the possibility to save and restore the game state at any moment.

Menu

We should add a menu to the game, allowing among other things the player to choose his/her hero.

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.