Just Tactics: turn based 1v1 online strategy game. Getting it Running

About a week ago I stumbled across Just Tactics on the Linux Game Database and thought, wow, it's like chess, but much more complex. Sounds awesome, right? So I checked out the Just Tactics Wiki, and saw that only 32 bit Ubuntu is officially supported. Well, obviously that's not gonna stop me.
To cut a long story very short, here are the 32 bit libraries I installed (in order), and an additional step to match Ubuntu. I'm not sure if everything is necessary, I just know it's working now.
installed earlier as dependencies for other packages
lib32-ncurses
lib32-libxv
lib32-alsa-lib
lib32-zlib
lib32-sdl
lib32-openal
lib32-libstdc++5
installed in an effort to get Just Tactics working
lib32-libxtst
lib32-libxt
lib32-nvidia-utils // this should correspond to your graphics card
lib32-mesa
lib32-libgles
lib32-gtk2
lib32-gtk
done to ensure similarity to Ubuntu
# ln -s /usr/lib32/ /lib32
Part of the reason I'm not certain as to which libraries are actually needed has to do with Ubuntu's use of ia32-libs, which is basically every 32 bit library under the sun (figuratively) in one package. I'm also not sure whether the symlink is actually need, as I installed lib32-gtk at the same time. I'll need to remove it and test.
Hopefully, once I know exactly what's necessary, I can post the information to both our wiki, and theirs.
Last edited by bdjnk (2012-11-15 02:41:36)

The server could keep track of whos turn it is. When its a new players turn the server could send a message to that player requesting his 'move'. the server would ignore any messages sent from other players. The server could easily, then, just rotate thru all the players.

Similar Messages

  • How to create a turn-based multiplayer online game?

    Hello. This is my first time here. I am familiar with programming games and have been doing so for 20 years. However, I'm completely new to using Java to do so. In the past, I wrote games in BASIC, Blitz, and C++ using DirectX. Being familiar with C/C++, the Java language syntax is not a hurdle for me.
    I've never created a networking game, but I feel that if I tried to create one using one of the programming languages I already know that I would succeed at doing so. (I'm just trying to show that I feel confident in programming with the languages that i know)
    The dilemma here is that someone else would like me to program a turn'based multiplayer game for them in Java.
    I've downloaded the NetBeans 4.1 IDE and uncovered a lot of terms and such that I'm unfamiliar with.
    What I'm looking for from you guys is an overview of what I need to do to achieve my ultimate goal of creating this online game.
    As a reference, I need to create a game very similar to this one:
    http://www.tacticsarena.com/play/
    Click on the "Launch Game: Tactics Arena Online" link to see the game.
    Create a new account to play (accounts are free).
    Upon starting the NetBeans IDE, I found that I could create several different types of projects. I guess first of all, I need to know what kind of project is best suited to make this type of game.
    To name a few, I have to select from:
    Java Application
    Java Class Library (is this an Applet?)
    Web Application
    Enterprise Application
    EJB Module
    Then I guess I would like to know if any of the above projects would be used to make the clients interface or the server side software or both? Or do I need to use some other kind of software/programming language/etc. to create the server side? (As a side note, typically what kind of Operating system would the server be using? I ask because I may set one up myself for testing purposes.)
    Somewhere I came upon the term 'Servlet'. Is this some kind of Java server application? Do I need/want to be using this?
    As you can see, I'm very lost at where to begin. I'm not at all unfamiliar with programming. I'm just unfamiliar with Java.
    WolRon

    Hi WolRon
    I am in the process of learning Java myself and from what i have read, you have a long road ahead of you!
    To start this Project the following will be essential for you to know:
    Applets - if this is going to an online game
    Multiple Threads - for the Server side
    Swing - for the GUI on both sides
    AWT - help work with the user input (mouseListeners, buttonListeners, etc)
    And knowledge of a database.
    those are the most obvious things that you will need to understand.
    I strongly suggest buying a Java book from which you need to start at the beginning. Although the concept of OOP is the same through most languages Java has terms - as do all languages- that will be different from the other languages. Starting at the beginning will be beneficial to your Java coding future.
    Good luck.

  • Help needed with Multiplayer/Network aspect of a turn-based game.

    Hello,
    I've converted a turn-based 4-player board game into a nicely working JApplet. Everything works fine, however, I'm stuck in "Hot Seat" mode. I need to get this working for multiple clients, but I'm not sure how to do this.
    Can I use a servlet that the clients connect to to share data? The machine is running a webserver but I don't have access to the startup scripts. Can I launch the servlet manually?
    If a servlet won't work, I am familiar with c/c++ socket programming. Should I just create a Java server to handle the exchange? I'm guessing applets can't connect to a server, so I'd have to convert the JAppet to an application, true?
    Please give me an idea what the best mechanism to exchange data would be, and I'll follow that trail.
    -Pak

    It sounds like the applet is a self-contained program, serving up to 4 players, and not communicating with a separate server or clients. This would imply that your single applet instance owns and maintains the game state model.
    If you want to move to a multi-instance game, you have two choices. Either peer-to-peer, and you can do without server altogether if you want to, or client/server, and you need a server. Both have pros and cons, but usually the client/server model is superior, it is also by far the most common. For applets it may actually be the only choice due to security restrictions, but I�m not an applet expert. Both of these distributed models require a rethink on your part regarding the game state model. If it�s a big rethink or not depends on your game and your ambition. Basic questions/issues can be:
    * Do all clients/instances see all state information?
    * Do you need persistance (e.g. save game, crash recovery)?
    * How do instances connect to each other/to the server?
    * Which instances may manage the game (accept/throw out players, terminate the game, etc)
    * Perhaps the most important: How is the consistency of state information ensured between the instances?
    (A note on your other question: servlets are server-side java programs that generate HTML-pages to be sent to the browser, similar to PHP and ASP. They have nothing directly to do with applet technology.)
    Regards,
    / Chris

  • Game Center with multi-player games/ turn based

    Hi All
    I seem to have a problem with the concept of the Game Center and exactly what it's supposed to do. If I am being a thicky, please tell me!!
    My Wife has an Ipad, my daughter an Ipad mini, son has an Iphone 4S and I have just bought a macbook pro. I have just started to work away and thought it would be a great family thing to play games against each other but this games center doesn't seem to be for this! I have added all 3 of them as friends on the center and thats about all I can do!
    When I goto the 'my games' on my pro, it says I dont have any games and I can download them from the app store, when I click the link, I get a blank screen come up with no games.
    When I goto ITunes and try to download a multiplayer turn based game it downloads but I cant do anything with it (I did this with scrabble, a hang man game and Uno).
    Are all these different hardware types incompatable to each other with game center?
    How do I get games on there?
    Are there any real time turn based games that will fullfill what I want? I have a go, then one of my family members does the same, even though we may have to wait a few hours to do the next turn. It doesnt have to be all 4 of us, maybe run 3 games at once with myself against each of my family.
    Thankyou in advance
    Andy

    Your family can play each other by purchasing the app on their own devices – but you'll be left out. There is a difference between buying apps from the iTunes Store and using the App Store on your Macbook Pro (known as the Mac App Store).

  • I am developing turn based game but it does not clear the badge number

    Currently i am developing turn based game and i get notifications for new game if someone invite me but i unable to clear these badge number . Is there any one who can suggest me how to clear badge number's for turn based game in objective c ?

    HI
    As per my understanding of your  issue, there  are 2 ways.. one is what u are trying...in this way first ensure your  item have proper  canvas setup. Or  try to  display the canvas without  using  button.  If this work, then there should not be problem.
    Second way of doing is ..
    Using  TAB Canvas.   You put all your 'MYBLOCK' data on  TAB PAGE(2ND PAGE), ....AND  in when buttong pressed, u just use go_block...will complete your job without much effect.
    If any issue, post here..

  • Best way to implement a countdown timer for a turn based LCCS game

    Hello,
    I am trying to build a turn based game and sketching out the high level map, so I can focus my efforts towards the direction I should be digging.
    One thing I have not seen much in the sample apps is how a turn based game is best handled.
    For example, a countdown timer. Should it be a shared property? Or a Baton which is supposed to manage workflows and has a timeout property?
    Or, should I forget those two, and time this on the server, although if it would become popular keeping track of all the times in the rooms would cost an arm and leg. Would love to hear some best practices on this.

    good idea.
    Which one or all of them?
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to
    suffering - Yoda. Blog - http://www.computerprofessions.co.nr

  • 2 player turn based game logic in c# for snake and ladder

    Hello programmers,
    I am developing a snake and ladder game in xaml and C#.(windows 8.1 app)
    my question is:
    1) I am unable to think about the solution for player turn, I have build the game logic for single player and its working fine. please provide some solutions or the concept.
    2) I have build the same game logic with two different ways, one with nested if else and the next with array which one would be good for performance.
    and I also want to know about windows Azure for online score and multi player game service.

    Hi,
    I am not very familiar with the multiplayer Game development. For multiplayer games, you'll need to set up a matchmaking server and have the clients connect to it. It can then pair them off and facilitate communications. If the clients have publicly available
    network addresses then it can introduce them and they can talk directly to each other.There isn't anything built in for this so you'll need to either build your own or find a third party implementation. If you are using Unity3d then check out
    http://docs.unity3d.com/Documentation/Components/net-MasterServer.html
    Also, you can use Xbox services, and I find an article below:
    https://msdn.microsoft.com/en-us/library/bb975801.aspx
    For windows Azure problem, you should go to windows Azure forum.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Implementing a turn-based game

    Hi,
    I am implementing a turn based game but am having problems coding the actual turns of the players.
    I have thought maybe:
    Player[] players = {player1, player2, player3, player4 etc }
    while(there is no winner) {
        players[1].haveGo();
        players[2].haveGo();
        players[3].haveGo();
        players[4].haveGo();
    }Is this a good way of implementing a turn based game or is there a default way which is considered good practise?
    Many thanks
    Cath

    Hi Cath
    The pseudo code you've included is wrong because the loop will be completed even if one of the players is finished the game. it's have to be like this .
    while(there is no winner)
         players[1].haveGo();
         if (there is no winner) players[2].haveGo();
         if (there is no winner) players[3].haveGo();
         if (there is no winner) players[4].haveGo();

  • IMac 10.1, OS X 10.7.5, 4 GB RAM, 201 GB free on 999.35 GB HD, gets slower the longer I use the Internet; very noticeable with online browser game Forge of Empires.  Turning iMac off and restarting it brings it back to full speed for an hour or so.

    iMac 10.1, OS X 10.7.5
    4 GB RAM (2 of 4 slots used)
    201 GB free on 999.35 GB HD
    The iMac gets slower the longer I use the Internet - to the point that it takes several seconds for each typed character to appear.  This is very noticeable with the online browser game Forge of Empires.  But, it happens even if not logged on to that game.
    Turning the iMac off and restarting it brings it back to what seems like full speed for an hour or so.  Then, it starts to noticeably slow down again.

    1st thing : from my point of view upgrade your mac os to latest version.
                    (their is mac os x mavericks from apple its free for upgrade so download it and install it.)
                    (https://itunes.apple.com/in/app/os-x-mavericks/id675248567?mt=12)
    2nd thing : then upgrade your all browser plugins to latest version.
    3rd thing : and use ccleaner to keep clean your mac from junk data or other unuseable data that are created.
                                   (http://www.piriform.com/mac/ccleaner)
    4th thing : verify and repair your disk permissions with the use of disk utility or ccleaner
    i am sure your computer recover speed.

  • Looking to get a data plan for the sole purpose of playing online video games

    Hi everyone,
    I live in the mountains of Pine Valley, CA and the seclusion is becoming intolerable.  I'm looking to get a data plan with Verizon to play online video games, namely Diablo 3 or failing that due to latency, then Civilization 5.  Can anyone give me pointers on if this would work and what plan I could get?  Currently, I have a plan with Boost Mobile which uses Sprint cell phone towers.  I tested my internet connection with speedtest.net and received a ping as low as 140 and as high as 1000, but I'm hoping the 1000 is just due to reception issues that can be fixed with a better antenna.    The 140 ping is a little high too but I'm hoping this will be better on the Verizon network since I think their cellphone towers are closer.  The closest landmark to me is the Golden Acorn Casino at 1800 Golden Acorn Way  Campo, CA 91906.  If anyone could tell me the distance from Verizon's cell tower to the casino and Sprint's and could estimate a ping value based on that, I would really appreciate it.
    I like Verizon's data plan for 10gb but I'm confused on device connectivity.  Is this the data plan plus whatever router device I hook it up to? I would also need some sort of antenna and a router, wireless or wired.  Can anyone give me pointers on how to find these?  An estimation on Ping and bandwith speed and also on peak hours in my area would be nice too.  Thanks to anyone that can help me with this!  Oh, and while I don't think my area has coverage for 4g, though I'm pretty sure there is 3g, would I possibly get 4g if I had a strong enough antenna?

    Homefusion comes with antenna that is mounted OUTSIDE of your dwelling. That why they send someone out to install it. It also comes with the router. You're thinking of Share Everything data only plans. Where you pay $20 for the mi-fi and then pay extra on the data pending how much you want.  Share Everything with a mi-fi and 10 GB would be $80 a month when you can get Homefusion for $60 for the same 10 GB. An considering the antenna is more power and outside you're a lot more likely to get reception with Homefusion. In either case it should be noted you'll need to pass a credit check and sign a two year contract.

  • Attempts in Making a Turn-Based Combat System like Earthbound

    For a couple days now, I have been trying to figure out how to manipulate LINGO scripts for a counter, random value generator, and other types to create a turn-based combat system that's similar to Earthbound for a project.
    So far, I have the if then codes instantaneously moving the player from one marker to the next, but I can't figure out how to do the following:
    1. Damage
    2. Health Bar
    3. Random Crit Generator
    4. Healing
    5. Player Controlling more than one sprite
    6. Counter-Attack Competent AI scripting
    Can anyone help me? I sorta have the health and the player controlling more than one sprite, but any help would be appreciated!

    Hi WolRon
    I am in the process of learning Java myself and from what i have read, you have a long road ahead of you!
    To start this Project the following will be essential for you to know:
    Applets - if this is going to an online game
    Multiple Threads - for the Server side
    Swing - for the GUI on both sides
    AWT - help work with the user input (mouseListeners, buttonListeners, etc)
    And knowledge of a database.
    those are the most obvious things that you will need to understand.
    I strongly suggest buying a Java book from which you need to start at the beginning. Although the concept of OOP is the same through most languages Java has terms - as do all languages- that will be different from the other languages. Starting at the beginning will be beneficial to your Java coding future.
    Good luck.

  • Unable to play online multiplayer games!?

    Whenever I go to play Town of Salem (online multiplayer game) or even any other gaming websites, it takes me to a page stating that I need to update my Flash Player to a version 11.9? or higher even though (triple checking regularly) my flash player is on version 17.1.1. I have uninstalled and reinstalled my flash player 4 times now and it still doesn't work and my Firefox is up to date too. Not too sure whether it is a problem on my side or just the flash player doesn't like playing games on my laptop anymore.
    If it helps, I have another laptop (different brand) that has updated flash player and it plays games really smoothly.

    Manufacturer: Acer
    Model: Aspire 5253G
    Processor: AMD E-350
                    Processor 1.60 GHz
    Installed memory RAM:  4.00GB (3.73 GB usable)
    System Typer: 64-bit Operating System
    Flash Player Version: 17.0.0.169
    Your OS: Windows 7 (64bit)
    Your Browser: Mozilla Firefox, 37.0.2 (latest update)
    My sister has also told me she had a very similar problem only that it was facebook games that weren't working. She fixed the problem by switching some option "on" that was turned off by someone else.

  • Flash issue's with online multiplayer game's

    I play alot of online multiplayer game's, i spend thousand's of dollars a year in playing, I update my computer everytime something new come's out. This is the first time i found a game flash based i wasn't to impressed with, Game i am talking about is wartune.com. when u aint around alot of people its fine, minute u get around alot of people it slows down. i have tried diffrent brower's and also diffrent settings as recommended on ur site. What i would like to see is flash be more friendly to less lag cause by flash, or even frames per second option available so a user can see what is going on. When flash aint lagged down it work's great, but need some more settings to boost the performance of it, Hardware acceleration almost does minnunim to nothing, i have 32 gigs of ram, duel processor's, duel video card's.  my system is very welll mainted as i don't do much but gaming on it. Give us some options to improve the respones time with flash, or even let use use are video cards more effecicantly with flash, Also just a not some complain the high useage of memory during online gaming have to refresh webpage alot to speed back up, Speaking to gaming sites doesnt seem to help, Only way i truely believe they will change is when they have to change, So im coming to u as a customer of alot of flash stuff, force them to do something, do ur 12.0 flash update with some added fetures for use gamers, give us a option to speed up are flash, I will state that theres other programs out there that when ran with flash it make's it go super smooth, but ur not allowed to run second programs during gaming, but if it smooths it out tremdously maybe that be something for u to look into? Any question's feel free to msg me back.

    You can buy top PC but this will not fix issues that made game developer. Yes, game developer. Not Flash Player developer. First of all you need to ping your game server.
    On PC in Windows you need to run in cmd this string: ping wartune.com but this is may not show real IP of game servers. I can't enter to wartune because there is error 404 - page don't found. So you need to know their servers IP and try to ping them. All ping that shows more 50ms will cause a lags. Ping it's timeframe for delivery data  between your PC internet and wartune sever.
    PS. my ping showed 192ms. So if game have the same server as hosted web site - I must see lags due big ping.

  • AppleScript (or Automator?): How to search through online сhеss games?

    Hello.
    I would like to search for specific online сhеss games. Each game has a single adress. We are talking about millions of games. Obviously, it's far too long to index all the games. So I will set a limit and use the script at night. Conditions should be something like this:
    For adress example.com/game=NumberA to example.com/game=NumberB
    Search every web page containing SpecificWord
    Store wanted web adresses somewhere (so I could see the games by myself during the day)
    As you can see, I know nothing about Applescript and I don't know how to start, nor how the script can pick up adresses. I think it's possible and not difficult to code, just time consuming for the program to search through thousands of games.
    Should I use AppleScript or Automator? Should the script open Safari (or Firefox if possible) or can it search without any browser? Is it possible to simultaneously search through multiple pages/adresses? Maybe I could write several scripts for different ranges of games? If so, how many pages can I open at once? For instance I could disable images in Firefox to load quicker. How much time does it need to search for one game? 1, 2, 3, 4, 5 seconds?
    Any easy tutorials, examples of similar codes, advices, hints or tips are appreciated.

    Thanks for answering. Sorry that I was so unclear. My main problem was how to get urls and games id as variables. But then I thought there already should be programs doing web crawling. I have found Scrapy which use Python language.
    (Maybe I should edit my question, add Scrapy and Python as tags instead of applescript and automator. Is it possible?)
    I have Mac OS 10.6.8, Python 2.6.1. Scrapy needs at least Python 2.7 so I have downloaded the last version of Python (3.3).  I think I can handle the programming in Scrapy thanks to their tutorial. The most difficult part should be... how to install Scrapy. Don't laugh at me.
    I have entered "sudo easy_install Scrapy" in the terminal. But the terminal still uses Python 2.6.1. Python 3.3 is installed but I don't know how to clean update Python. If anyone knows, feel free...
    When I write scrapy in the terminal, here is what I get:
    Traceback (most recent call last):
      File "/usr/local/bin/scrapy", line 4, in <module>
        import pkg_resources
      File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg _resources.py", line 2556, in <module>
        working_set.require(__requires__)
      File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg _resources.py", line 620, in require
        needed = self.resolve(parse_requirements(requirements))
      File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg _resources.py", line 518, in resolve
        raise DistributionNotFound(req)  # XXX put more info here
    pkg_resources.DistributionNotFound: lxml
    It seems Scrapy also needs something called lxml. Right now I am trying to make Python 3.3 the default python version. Is there a web crawler GUI which already includes Python, Scrapy, lxml?
    By default I also have Python 2.4 and 2.5. Does the system need them? I prefer not to delete system files but together all Python versions weigh 500 MB.
    In regard to the real example URL: let's say instantchess.com. Here's a game URL: http://www.instantchess.com/?EXP=1&GPI=84094532
    84094532 is the game id. Let's say I want to search every Reti openings (thus the page must contain the word "Reti") from id 84000000 to 85000000 and store games id in my computer. If I have understood correctly, I need to search through the source code of the pages.
    Feel free to add any remarks, suggestions, ideas.

  • What strategy games may i play in my mac with mountain lion?

    Examples: starcraft
    starraft 2
    age of imperes 2
    civiliztion
    what other strategy games may i play in the new software of mac?

    Of the ones you mention, there are three Civilization games in the Mac App Store. They and about 250 others show up for a search on the word "strategy" in the store. Those are just the ones that use the word "strategy" or "strategic" in their name or description; quite possibly many others of the thousands of game would match your interests.

Maybe you are looking for

  • How can I use Multiple Keyboards?

    I would like to use two USB keyboards on my application in a independent form. Does anyone know how I can do that? Thanks, GPC

  • How can I disable emails, alerts, and notifications sent from iCals which I subscribe to?

    My wife subscribes to one of my iCal and uses it to know when I have class or am indisposed. I use my school calendar very heavily especially the To dos. The problem occurs when she recieves hundreds of emails generated from my constant updating of m

  • No wifi connections with Windows 8.1 on Lenovo Flex 2-14

    I got me a new Lenovo Flex 2-14 with Windows 8.1 on it yesterday, but I can't connect to my wifi network. In the tray there's always the red cross (not the yellow symbol) and no network is found at all. I read that a lot of users experience this, so

  • Ripping from a DVD

    How do I rip video off of a DVD? (it is not copyrighted material). In the past, I've had to play the disc in a DVD player using it's analog outs, into a digitizer to record it into iMovie. I am hoping there is a better way to do this. Any ideas? Than

  • Returnable Gate Pass Flow For The Abap Report

    Hi, I am ABAPER and i had been assigned to devleop a report which shows the Cycle Time for the materials which are send through Gate Pass outside the plant to a vendor and then coming back to plant. I want to know which Tcodes,Tables are used in it s