8000 GitHub - int02h/int02h.github.io: Fun clicker game prototype
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

int02h/int02h.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Urban Clicker Game

image

Project structure

The most important files and folders in the project are:

  • classes The source code responsible for isometric tile city drawing.
  • effects.js All effects that players can buy are implemented here. The effect is a modifier that can increase or descrease game parameters. For example, a driver (that earns money) is the effect.
  • game.js The main game logic is implemented here. One can consider it as a bridge between the UI and the game logic. It is also responsible for handling user input.
  • game-events Events happening during the game are implemented here. For example, a player can get a bonus or a penalty.

Run project locally

Using http-server

NB! Requires Node.js

Opening index.html in a browser is not enough due to CORS policy. A simple HTTP server is required to run the project. For example, http-server:

  1. Install http-server
  2. Go to the project root directory
  3. Run http-server command without any arguments

Simple Go script

NB! Requires Go

  1. Run go run httpserv.go in the root folder
  2. Go to http://localhost:8080/

About

Fun clicker game prototype

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0