Giter Site home page Giter Site logo

openciv's Introduction

OpenCiv tile_city

example workflow Lines of Code Discord

*** 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

alt text

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-server Server.jar To start the Client & Server

Right click -> Run as -> Java Application

run_client

Right click -> Run as -> Java Application

run_server

  • 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.