Giter VIP home page Giter VIP logo

bb4-games's People

Contributors

barrybecker4 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bb4-games's Issues

Fix score caching using Zobrist hash

Use score caching. Update the groups, but only update the eyes, territory, and static score if not in cache.
Something wrong with the Zobrist hashing in that different positions are getting the same hash key.
I turned off score caching until I can fix this.

Game pieces partially rendered while computer "thinks"

While the computer calculates its next move, the rendering (which is in a separate thread) often draws a game board reflecting what the computer is thinking about. I used to think this was sort of a feature, but it can be distracting and confusing.

Fix eye caching

Caching of a groups eyes should help performance.
It is currently turned off due to a possible bug.

add large scale battle game

I'm thinking of something like Lord of the Rings, but with simpler graphics.
There will be troop units composed of archers, knights, cavalry, pikemen, catapults, etc. There will be a matrix of attributes and how one type of unit has advantages/disadvantages when battling a different sort (like rock paper scissors in a way).
Players will direct their troops in real time.
This could potentially be adapted to play on a mobile device. Players can push their troops in different directions, or touch and hold to select, and then touch the desired destination.

Add Connect 4

Connect 4 is like 4 in a row, but you can only drop in pieces from the top.

Go: must be square board or arrayIndexOutOfBounds occurs

I tried a 9 x 19 board, but got

done loading resources
Exception in thread "AWT-EventQueue-2" java.lang.ArrayIndexOutOfBoundsException: 9
at com.barrybecker4.game.twoplayer.go.board.analysis.PositionalScoreArray.getValue(PositionalScoreArray.java:47)
at com.barrybecker4.game.twoplayer.go.board.analysis.PositionalScoreAnalyzer.determineScoreForPosition(PositionalScoreAnalyzer.java:46)
at com.barrybecker4.game.twoplayer.go.board.analysis.WorthCalculator.calculateWorth(WorthCalculator.java:108)
at com.barrybecker4.game.twoplayer.go.board.analysis.WorthCalculator.worth(WorthCalculator.java:50)
at com.barrybecker4.game.twoplayer.go.board.analysis.BoardEvaluator.worth(BoardEvaluator.java:49)
at com.barrybecker4.game.twoplayer.go.board.GoSearchable.worth(GoSearchable.java:143)
at com.barrybecker4.game.twoplayer.go.board.GoSearchable.worth(GoSearchable.java:22)
at com.barrybecker4.game.twoplayer.common.TwoPlayerController.manMoves(TwoPlayerController.java:283)
at com.barrybecker4.game.twoplayer.common.ui.AbstractTwoPlayerBoardViewer.manMoves(AbstractTwoPlayerBoardViewer.java:171)
at com.barrybecker4.game.twoplayer.common.ui.AbstractTwoPlayerBoardViewer.continuePlay(AbstractTwoPlayerBoardViewer.java:308)
at com.barrybecker4.game.twoplayer.go.ui.GoViewerMouseListener.processStonePlacement(GoViewerMouseListener.java:99)
at com.barrybecker4.game.twoplayer.go.ui.GoViewerMouseListener.mousePressed(GoViewerMouseListener.java:69)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)

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.