Report as inappropriate.
Play Battleship with other users! First onsite user multiplayer game! With instant messenger after each match
Threw this together the past day or two.
** A SMALL NOTE **
If no one is in the scenario for you to play with, please comment below - asking for someone to join you
(I'd hate for you to not get a chance to play a match to completion and possibly do a bit of chatting with the instant messenger).
Needless to say, votes/likes are always appreciated.
In no way have I made any cheating ability, or given myself any sort of an advantage.
You can check the source. And any one of you can call me out on it if there is anything.
But I assure you there is none.
I would not risk the integrity of my game when it comes to user vs. user multiplayer.
Or high scores in any of my other scenarios.
Refreshing the page without quitting java first, or using the reset button - should not be done.
** USER SELECTION SCREEN **
User game status (middle column):
'R' means a user is requesting a game with you.
'G' means a user is in a game session or requesting a game with someone else.
'-' means neither.
Last Known Activity means the time since the scenario you are running last noticed the user was active/online
(typically >10 seconds means they left).
Can sort the list of users by the 3 buttons at the top
(Sort by the right-most 2 to get an idea of who is online or wanting to play with you)
(Note: scenario does not automatically keep list sorted as values change).
** PLAYING **
Important: pausing the scenario quits a game.
To place your ships, click and drag them.
While dragging a ship, you can press R to rotate it.
You have 45 seconds to place your ships
(not timed while waiting for game request to complete).
You have 15 seconds per turn.
Who goes first is randomized.
After a game has finished, you can chat with your opponent in an instant messaging session.
(You don't have to, you can just exit the game session, but most users might want to comment about the match)
Max message length is 200 characters.
A sent message must complete, before sending another (takes maybe a second).
You will be notified when your opponent leaves the session.
** TO DO **
When I have time, I will:
* Update the graphics.
* Add some sort of scoring - Win and Loss record (tricky considering possibility of a user leaving a game).
For reusable GUI Components, visit:
http://www.greenfoot.org/scenarios/7578
For a more general instant messenger, visit:
http://www.greenfoot.org/scenarios/10302
7731 views / 16 in the last 7 days
19 votes | 0 in the last 7 days
This scenario is a member of: UserInfo Shares, UserInfo Multiplayer
Visit the web page for this scenario.
Want to leave a comment? You must first log in.
2013/12/19
2014/1/2
2014/1/2
2014/3/16
2014/3/16