View Single Post
  #33  
Old August 6th, 2015, 03:06 AM
Lyrgard's Avatar
Lyrgard Lyrgard is offline
 
Join Date: October 1, 2009
Location: France - Bordeaux
Posts: 1,056
Lyrgard is inducted into the Halls of Valhalla Lyrgard is inducted into the Halls of Valhalla Lyrgard is inducted into the Halls of Valhalla Lyrgard is inducted into the Halls of Valhalla Lyrgard is inducted into the Halls of Valhalla Lyrgard is inducted into the Halls of Valhalla Lyrgard is inducted into the Halls of Valhalla Lyrgard is inducted into the Halls of Valhalla Lyrgard is inducted into the Halls of Valhalla
Re: Heroscape with HexScape

Quote:
Originally Posted by The Grim Reaper's Friend View Post
Question: While I doubt it is possible, it would still be immensely cool if you can play HS games against the computer.
Is there any way this could work in HexScape?
~TGRF.
As Kinseth replied, it is currently not possible to play games against the computer with HexScape.
However, it is doable to make a program that would allow that.
To keep things simple, HexScape is in fact 2 software.
The server (that run on only one computer) and the client (that users download and run). Both communicathe through messages. The client send messages like "I moved piece X to THIS position", "I entered THIS text into the chatbox" or "I want to roll X dice of type Y".
The server receive those messages and transfer them to the appropriate players (mainly the others players in the game), keep a state of the game, and sometime do something (for instance, it hides to the others players the real content of hidden order markers, and it is the server that do the random for dice results)

So nothing is preventing someone from creating another type of client that will listen and send message to the server automatically to behave like a real player.
In fact, the hardest part would be to make this program play in a way that is a challenge and not randomly moving figure on the board XD

Quote:
Originally Posted by Phries View Post
HexScape is awesome, just checked it out.

Lyrgard, what are your plans for it in terms of programming? I just started using java again for work and would love to help out in some way.
First, welcome back on Heroscapers !

HexScape is free and open source. Its code can be find on github at https://github.com/lyrgard/Hexscape, and it will stay like that. When you say you checked it out, do you mean you checked the sources out ?

In term of programming :

- I'm currently working on a new GUI system, that is really more customizable (but also more low-level) than the current (currently, it uses basic Swing, I'm porting it to Nifty Gui). Nearly all is done, apart the online screen (with the big chat and the list of the games)

- next I'll go back to add more functionnalities to HexScape. I have a lot of ideas. From the top of my head, a replay functionnality (will allow to effortlessly have a battle report !), the possibility to add custom decor piece (I know the guys at C3G would LOVE to add building !), the possibility to automatically share Army cards (Says I made a custom and want to try it out with someone on HexScape, he will be able to download it directly, without needing me to make an asset file, sending to him and him importing it), and lots and lots of ideas

- As usual, working on any bug or enhancement needed.

If you want to help out with the developpement (which would be greatly appreciated), I think the first thing would be for you to fork the project on github, get the sources, compile them and see if you manage to launch HexScape from that. I'd would happily discuss any problem or question you could have by pm. Then, if you feel confident, you could do some work on your fork, and then send me some pull requests to integrate your changes into HexScape. How does that sound to you ?
Reply With Quote