Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erik3010/head-soccer

Head Soccer is a 2D soccer game where you can play against the computer. The game is played on a field with two goals, one for each player. The objective is to score more goals than your opponent before the time runs out. If the time runs out
https://github.com/erik3010/head-soccer

Last synced: about 19 hours ago
JSON representation

Head Soccer is a 2D soccer game where you can play against the computer. The game is played on a field with two goals, one for each player. The objective is to score more goals than your opponent before the time runs out. If the time runs out

Awesome Lists containing this project

README

        

# Head Soccer

## Description

Head Soccer is a 2D soccer game where you can play against the computer. The game is played on a field with two goals, one for each player. The objective is to score more goals than your opponent before the time runs out. If the time runs out, but the score is the same, the game goes into sudden death mode, where the first player to score a goal wins the game. The game is played with the keyboard. The game is played with the keyboard. The player can move left and right, jump and kick the ball.

This game was built using Javascript and HTML Canvas. I built this game because I wanted to learn more about game development in Javascript. Also wanted to learn more about HTML Canvas and how to use it to build games and animations inside the game.

## Controls

- Use A and D to move left and right
- Use W to jump
- Use Space to kick the ball

## Credit

This project is highly inspired by the available mobile game Head Soccer.