Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takaneichinose/car-race-nuxtjs
Just a simple endless run car race game; inspired by a game in a brick game
https://github.com/takaneichinose/car-race-nuxtjs
arrow-key brick-game car-game car-race-game css css3 endless-runner game html5 javascript javascript-game nodejs nuxtjs retrogaming sass score scss typescript vue vuejs
Last synced: about 2 months ago
JSON representation
Just a simple endless run car race game; inspired by a game in a brick game
- Host: GitHub
- URL: https://github.com/takaneichinose/car-race-nuxtjs
- Owner: takaneichinose
- License: mit
- Created: 2020-07-31T00:50:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-24T05:04:48.000Z (9 months ago)
- Last Synced: 2024-03-24T06:20:17.471Z (9 months ago)
- Topics: arrow-key, brick-game, car-game, car-race-game, css, css3, endless-runner, game, html5, javascript, javascript-game, nodejs, nuxtjs, retrogaming, sass, score, scss, typescript, vue, vuejs
- Language: TypeScript
- Homepage:
- Size: 6.49 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Car Race
Just a simple endless run car race game; inspired by a game in a brick game way back 80's (or 90's? Actually I don't know, I'm sorry).
The concept of the game is similar, the score increases while your distance increases. The difference is, in that game, you must select the speed of the game from the beginning, while in this game, the speed increases over the time (I set it to every 15 seconds).
## About the game
You are going too fast in the highway (Be careful not to be caught). Just dodge all the white cars.
Your score is at the top left corner of the "screen".I developed this game with VueJS, using NuxtJS Framework.
I drew all of the images using [Paint.NET](https://www.getpaint.net/), and [GIMP](https://www.gimp.org/).
I used [LMMS](https://lmms.io/) (Linux Multi Media Studio) to create all of the audios.
## Controls
- **Left arrow key** Move left
- **Right arrow key** Move right## Testing on local computer
### 1. Getting the repository
If you do not have the repository on your device yet, you may clone this repository by executing the command below on the command line:
```
git clone https://github.com/takaneichinose/car-race.git
```But if you already have the reposity, just pull to get the latest code.
```
cd car-race
git pull
```Now you have the latest codebase.
### 2. Building the source code
I created this game using [NodeJS](https://nodejs.org/), so make sure you have NodeJS installed on your device. Install the dependencies by executing the command below.
```
npm install
```Now you have the dependencies installed.
### 3. Run the server
To run the server on your local device, just execute the command line below, and wait for [NuxtJS](https://nuxtjs.org/) to finish compiling.
```
npm start
```Access the game by opening [this](http://localhost:3000) link on your browser: ``` http://localhost:3000 ```
After compiling, you're ready to go, and enjoy the game!
## Playable demo
I distributed this game, and put it on my [Github Pages](https://takaneichinose.github.io/) link.
I might change this link in future, but I'm going to put it here for now.
URL: [https://takaneichinose.github.io/](https://takaneichinose.github.io/)