You don't need frames to view this website. Flash communication server. Flash mx xml socket server.
Home
Main Menu
Home
- - - - - - -
What is Palabre ?
Features
News
FAQ
Forum
DEMO
- - - - - - -
Downloads !
Browse SVN
- - - - - - -
Search
Contact Us
- - - - - - -
Sourceforge Project Page
Python
Links







Actionscript for Multiplayer games

 
Download Palabre Flash Xml Socket Server DOWNLOAD Download Palabre Flash Xml Socket Server FORUM Download Palabre Flash Xml Socket Server FAQ Download Palabre Flash Xml Socket Server WHAT IS IT
 



Using Palabre ? Coming here for Support ? Please consider making an (even small) donation :)
Palabre Forum  


::post new topic::
Basic Board Game - Battleships - 2009/10/02 11:15 Hi,
I'm newbie, with palabre i begin my adventure with Python (sorry for my language ;) ). I've got a few questions about Palabre.

1st: How can i change problem with "closed room" -
I wan't to add user to room (childroom) autimatically. when he log in (if somebody waiting for second player) or create new childroom, if all rooms are closed. Also I base on car game, but I've saw big problem - if a room is closed player can't join, but he can create new childroom with the same name, then he join to this room. How can I fix it?

2nd: Simple Board Game
I've got to create this simple game, and what functions i need:

  1. At start send to server an array like:
    Code:

     [0,0,0,0,1, 0,1,0,0,1, 0,1,0,0,1, 0,0,0,0,0, 1,1,1,1,1]       



    where 1 - ship.



  2. Next i wan't to check player shot like:
    Code:

     Player1[x][y];


    and i need to receive something like
    Code:

     shooted true || false




  3. If shooted == true, then the same Player can shoot again, else change player.


  4. If Player destroyed all opponent ships then send
    Code:

     win player1;




Can anybody told me how could i do it? I don't expect all sourcecode, I need some tips to start.

Thanks
  reply | quote
::post new topic::