Coder Social home page Coder Social logo

ottlinger / game-kaiser-java Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 5.53 MB

An adaption of the old Kaiser/Sumeria game

Home Page: https://ottlinger.github.io/game-kaiser-java/

License: GNU Affero General Public License v3.0

Java 99.12% Shell 0.88%
console game java kaiser retrogaming

game-kaiser-java's Introduction

game-kaiser-java

An adaption of the old Kaiser/Sumeria game

Build status

Github Action main branch status

codecov.io

CodeQL

Introduction

The game basically starts with a fixed population and land size. Each round generates a harvest, and you will be prompted to sell/buy/transform the harvest and the next round is about to begin.

It is based on an old ๐Ÿ“ƒ KAISER.BAS basic listing I found when I did some spring-cleaning.

How to run

$ ./run.sh

Have fun :)

Site reports

A Maven-generated site report is also available here.

DevHints

Old basic interpreter

Console Colours

game-kaiser-java's People

Contributors

dependabot[bot] avatar ottlinger avatar

Watchers

 avatar  avatar

game-kaiser-java's Issues

Bug: Non-terminating decimal expansion

Wieviel Land wollen Sie bebauen?
100

Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91)
at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53)
at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:58)
Caused by: java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.
at java.base/java.math.BigDecimal.divide(BigDecimal.java:1780)
at de.aikiit.game.kaiser.KaiserEngine.finishRoundAfterActions(KaiserEngine.java:199)
at de.aikiit.game.kaiser.KaiserGame.run(KaiserGame.java:27)
at de.aikiit.game.kaiser.GameKaiserJavaApplication.main(GameKaiserJavaApplication.java:8)
... 7 more

Issue meaningful site reports

  • Add reports:
    • Jacoco
    • Javadoc etc.

Add team information in pom.xml

  • in order to overwrite Spring-induced stuff

Add theme

  • Use a more modern theme

Fix build warnings :)

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.