Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Project Challenge by Felipão DIO: Mario Kart.JS

Mario Kart Objective:

Mario Kart is a racing game series developed and published by Nintendo. Our challenge is to create the game logic of a video game that simulates Mario Kart races, taking into account the following rules and mechanics.

Players

Mario

Mario Kart

Velocity: 4

Maneuverability: 3

Power: 3

Peach

Mario Kart

Velocity: 3

Maneuverability: 4

Power: 2

Yoshi

Mario Kart

Velocity: 2

Maneuverability: 4

Power: 3

Bowser

Mario Kart

Velocity: 5

Maneuverability: 2

Power: 5

Luigi

Mario Kart

Velocity: 3

Maneuverability: 4

Power: 4

Donkey Kong

Mario Kart

Velocity: 2

Maneuverability: 2

Power: 5

🕹️ Rules & mechanics:

Players:

The system should receive two character objects, each representing a participant in the race.

Tracks:

  • The characters will race on a random track with 5 rounds.
  • At each round, a section of the track will be randomly selected. It can be a straight, a turn or a clash.
    • If the track block is a STRAIGHT, the player must roll a 6-sided die and add their SPEED attribute. The one with the highest total wins the round and earns 1 point.
    • If the track block is a TURN, the player must roll a 6-sided die and add their MANEUVERABILITY attribute. The one with the highest total wins the round and earns 1 point.
    • If the track block is a CLASH, the player must roll a 6-sided die and add their POWER attribute. The one who loses the round loses 1 point.
    • No player can have a negative score (values below 0).

Victory Condition

At the end, the player with the most points wins.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages