Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

WebCiv - 3D Civilization-like Game

A web-based Civilization-like game built with Three.js.

Features

  • 3D hexagonal map with various terrain types (plains, hills, mountains, water, forests)
  • Turn-based gameplay
  • City building and management
  • Unit movement and actions
  • Resource management (food, production, science, gold)
  • Basic AI opponent

How to Play

  1. Open index.html in a web browser
  2. Start with a settler unit
  3. Click on the settler to select it
  4. Click on a valid tile to move the settler
  5. Found a city with the settler
  6. End your turn with the button in the top-right
  7. Expand your civilization by building new cities and units

Controls

  • Mouse click: Select units or tiles
  • Mouse drag: Rotate the camera
  • Mouse wheel: Zoom in/out
  • End Turn button: End your turn

Development

This game uses:

  • Three.js for 3D rendering
  • Vanilla JavaScript

Future Improvements

  • Add more unit types and buildings
  • Implement technology tree
  • Add more sophisticated AI
  • Add multiplayer support
  • Improve terrain generation with proper Perlin noise

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages