OpenCiv
OpenCiv copied to clipboard
An open source civilization-like game made for the web browser.
OpenCiv 
*** Project is being rewritten in TypeScript here***
The current Java version implemented poor design decisions which makes it hard to continue developing it without a complete rewrite. (I abused OOP) With typescript, I can keep code quality in check completely focus on the web version.
A turn based strategy game built on LibGDX, with a rouge-like tile set.
About
OpenCiv is a love letter to turn based strategy games inspired by Sid Meier's Civilization. The game strives to improve on certain aspects that were lacking in the series, and experiment with new features. If you like game development, Java, or pixel art, consider contributing. We can make something great.
Eventually, I'd like to add support modding through LUAJ.
Screenshot
How do I build and run this?
- Install Java 11 or higher. NOTE: OpenJDK has problems (at least for me on linux)
- Install GIT
- Run ->
git clone https://github.com/rhin123/OpenCiv.git
- Open Eclipse or any other java editor, and
import grade project
(Eclipse is recommended, haven't tested on other IDEs) - To import the project properly, make sure you select the
OpenCiv
folder, and not the subfolders. - To get the game running you would run the OpenCiv-lwjgl3
Lwjgl3Launcher.java
class & the OpenCiv-serverServer.jar
To start the Client & Server
Right click -> Run as -> Java Application
Right click -> Run as -> Java Application
- Click multiplayer & connect, then start the game.
If you have any issues when trying to set up a build environment, please comment Here. I'm trying new ways make the set-up of this development environment easier.
Currently, there is no releases available as the game is still in heavy development. Once AI is re-written & singleplayer mode is implemented, a release will be available.
Keybinds
WASD
or ARROW KEYS
or LEFT-CLICK DRAG
- Camera Movement
SCROLL
- Zoom In/Out
LEFT-CLICK
Unit RIGHT-CLICK
Tile - Unit Movement (In 2 tile radius)
SPACEBAR
- Skip turns
Special thanks to the following:
Contributors - Will Pewitt
Artists - lucasyoung988 brysia pratamacam CharlesGabriel