Jump to content

Radeon

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation

0 Neutral
  1. Just make sure you dont false report people, I often play with public chat off because of all the idiots asking for my party hat or my money gets boring.
  2. Hi im radeon, real name is mike, i am a programmer from london and am currently at university. I like playing runescape lots and regularly use your skill calculators. here is a game i had to make for my final last year: Source: http://pastebin.com/Y5EvLe63 NOTE: can be very addictive so dont play when you have any work to do lol. hope to see you all around.
  3. Hi its Mike, I am building a snake game again, however this time multi-player. I was thinking client-server would be best option, what do you think? I need to get feedback on the gameplay, userfriendlyness and the UI. Source: http://pastebin.com/Y5EvLe63 NOTE: can be very addictive so dont play when you have any work to do lol. I am currently looking into a design pattern, planning it out using UML of a more OOP design. Pseudo-logic of the client would be: - connect to server - if connection successful, get initial state of game, points, etc - game loop: -- check input, send to server -- receive current game board -- draw the current game board - disconnect/free resources Pseudo-logic of the basic server would be: - initialize network stuff - do nothing until two connections are established -- check inputs -- handle gameplay as usual with the inputs -- send the game board to each connected client -- repeat - close/free resources/start another game/whatever The first message type would be sent from the client to the server. When the message type is "INPUT," you could set the string to something like "arrowUp" and, in the game server, handle it appropriately. The rest would be sent from the server to the game. For "BOARD," you could interpret the string to be something like "0 1 0 3 ...", where each number means either obstacle, empty spot, or whatever else you want. Managing this would be as simple as splitting the string at each space and using a loop to set values in a Map grid/structure. Lastly, POINTSPLAYER and POINTSOPPONENT would set the string to a number which would be the amount of points for the corresponding player/opponent. Ideas? thoughts and opinions? what is the game play like, user friendly?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.