GithubHelp home page GithubHelp logo

nomnelle / shazamm Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.29 MB

Project carried out as part of our 2nd year of bachelor's degree in Mathematics and Computer Science Applied to Human and Social Sciences. Java application to play the game Shazamm created by Philippe des Pallières and François Bruel.

Java 100.00%
cards-game degree-project game wizards

shazamm's Introduction

Shazamm

Project carried out as part of our 2nd year of bachelor's degree in Mathematics and Computer Science Applied to Human and Social Sciences.
Java application to play the game Shazamm created by Philippe des Pallières and François Bruel.

When the program is launched, a first window appears, with several buttons. The player can start the game by pressing the "Play" or "Play (multiple screens)" button, depending on his computer setup. The game proceeds in the same way as a board game. The players must first enter their name (the two names must be different). Then the game is divided into rounds, where players take turns entering the number of mana points they wish to wager, and then selecting the spells they wish to play (if they wish to play any). The players stand on a bridge, made up of tiles. Between them is a fire, and both players are 3 steps away from the fire. Spell selection is done through a series of popup windows. The player will first be asked if he wants to cast a spell. If he confirms, he will see the list of available spells, in the form of an opening list. If he has selected a spell, the program will offer him to read the description of the spell (Help), or to cast the spell. If the player reads the help, he will then return to the previous window. If the player chooses to cast the spell, the spell will be played during this round. In either case, the player can cancel to return to the previous window, and if the player presses "No" in the first window, then the spell selection stops. The player winning the round will be determined by their wager. The player with the highest bet wins the round, and pushes the fire one square towards their opponent. If either player is hit by the flames (i.e., is in the same position as the flames), the round ends, everyone moves three steps away from the fire, all their mana points are returned to the players, and the bridge they are standing on collapses at both ends (one tile falls on each side). The player who manages to push his opponent off the bridge wins the game.

shazamm's People

Contributors

nomnelle avatar rmsjava avatar

Watchers

 avatar

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.