Git Product home page Git Product logo

halma's People

Contributors

azure-pipelines[bot] avatar bittin avatar clonewith avatar comradekingu avatar crazymarvin avatar dallasgeorge avatar dependabot[bot] avatar digital-phantom-official avatar enescetinkal avatar frosty-j avatar hobomaniac avatar liimee avatar lisapple avatar mmelnizky avatar multi-programmer avatar phantom-mobile-apps avatar poopjournal avatar rezaalmanda avatar weblate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

halma's Issues

Support gameplay without bots

โš ๏ธ Is your feature request related to a problem? Please describe

Due to the nature of Halma, which is originally several players surround a board and play, this should be appropriate.

๐Ÿ’ก Describe the solution you'd like

We can allow the bot number to be zero. Adding a bots switch could be helpful too.

๐Ÿ™‹ Do you want to develop this feature yourself?

  • No (I'm new to libGDX)

Vector graphics

Hello, I believe you contacted me on Fiverr. I'm unable to reply on there - it just gives the "For privacy reasons, this user may not be contacted directly" message that, by the looks of my web search, has nothing to do with privacy.

Anyway, about SVG... libGDX doesn't support SVG, but based on the assets I think the ShapeRenderer class would work well enough for drawing simple vector graphics. I tried the gdx-TinyVG library and file format before and didn't have a great experience, but it exists as a poor man's SVG equivalent.

Honestly, just having an SVG master and exporting to the required resolutions is working pretty well for myself. Scaling 0.5-1ร— with linear filtering looks fine. I don't think the aliasing on your assets is doing them any favours (instead of this you could have that, or preferably a white version to setColor() at runtime).

About other stuff... building an APK shouldn't be any bother. Will need to update targetSdkVersion and whatnot if you plan on uploading to Google Play. I'm a little more lost in the design department, especially since I don't find libGDX that great for creating UI-heavy stuff to begin with.

(sent you an email from c***[email protected] at 15:28 UTC)

Game crashes with 3 players in total

โœ๏ธ Describe the bug

Whenever the number of all players is set to three (on a star board), the game crashes without showing an error.

๐Ÿ’ฃ Steps to reproduce

  1. Click New Game
  2. Set players: 2 bots and 1 player, or 1 bot and 2 players
  3. Click Start Game
  4. Game crashed immediately

๐Ÿ“ฑ Tech info

  • Device: Redmi Note 12T Pro
  • OS: MIUI 14.0.10 @ Android 13
  • Version: Halma v13.0

๐Ÿ“„ Additional context

This is a trace report generated by my device, should be of some help.

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.LinkedList.checkElementIndex(LinkedList.java:559)
	at java.util.LinkedList.get(LinkedList.java:480)
	at app.halma.play.Player.randomField(Player.java:63)
	at app.halma.play.Player.play(Player.java:31)
	at app.halma.play.Play.play(Play.java:56)
	at app.halma.play.Play.create(Play.java:53)
	at app.halma.play.Play.createInstance(Play.java:28)
	at app.halma.redesign.PlayConfig.clicked(PlayConfig.java:104)
	at app.halma.BaseScreen$Listener.clicked(BaseScreen.java:84)
	at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:88)
	at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:71)
	at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:354)
	at com.badlogic.gdx.backends.android.DefaultAndroidInput.processEvents(DefaultAndroidInput.java:423)
	at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:503)
	at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1581)
	at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1280)

Computer Plays Strange

โš ๏ธ Is your feature request related to a problem? Please describe

Game with Player versus Computer. The Computer plays very defensiv, too defensiv! Therefore the end of a game is alwasy the same. There are ALWAYS some of the AI-pieces left in its "Home field". The AI also never recognizes the end of the game.

๐Ÿ’ก Describe the solution you'd like

The Computer should try harder to bring all its own pieces to the opposite field. Otherwise ther is always no end to the game because there are always pieces in the home base left

๐Ÿ“Š Describe alternatives you've considered

๐Ÿ“„ Additional context

๐Ÿ™‹ Do you want to develop this feature yourself?

  • Yes
  • [ X] No

Web Support

It would be awesome if we could support the web (additionally to Android).
Windows, Linux, macOS and iOS are not needed because the web version would work on all those platforms as well.

Online Multiplayer

What do you think of online multiplayer? May someone recommend an open source solution?

Update About Page

We should add links to Hosted Weblate, Terms of Service and Privacy Policy into the About page.
A link to the Privacy Policy is required by Google Play inside the app.

Halma

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.