Skip to main content

Navigation

User login

Elsewhere

LinkedIn

Hosted by Sargasso Networks
World of Goo Fans!

Snaxe: Hours 8-9

September 15, 2011 by davidc

More of the client-server communication is now implemented. The client is now put into the queue (and sent a message) after they enter their name. The server now broadcasts a 'gameover' to all clients on startup, in case any clients are stuck in the game from a server crash.

The 'insert coin' state now lists players in the order that they joined the queue, and the 'play' state now adds players to the game in that same order.

I've set up all the start positions for the various game sizes from 2-8 players. Pictured below is the 8-player arrangement. Snakes are now initially only 2 squares long rather than 4. And they now have guaranteed unique colours rather than random ones.

Powerups are now placed such that they never land on an existing piece or snake part (previously was completely random). Board pieces like skulls and rabbits now have a lifespan in moves, which is random within a configured range.

Local player key handling is refactored to be less of a giant mess of conditionals. The game now properly ends if all players are dead. Finally, I realised that the projector is 1024x768 but I've been developing at 800x600. I think the answer is to scale up the board, as I don't think it should have any more squares.

The next steps are to finish up the client-server protocol implementation, make the game return to the 'insert coin' screen after game over, and start work on some of the new features mentioned in a previous post.

Next: Hours 10-12.

Comments

Outstanding write-up and also

April 27, 2016 by jackman10, 1 week 2 days ago
Comment: 1370

Outstanding write-up and also men and women in the world will certainly acquire greatly as a result of examining which. I'm going to go back repeatedly to learn to read this type of posts buy wine decanter online

Thanks.

April 27, 2016 by khachlamat, 1 week 2 days ago
Comment: 1368

THanks for this great post.
like it. Info Titan download | Info Titan
Info Titan REVIEW | Info Titan bonus

nice informations amazing i

April 11, 2016 by muhammad27, 3 weeks 4 days ago
Comment: 1012

Great !

April 8, 2016 by khachlamat, 3 weeks 6 days ago
Comment: 965

Nimbus review Nimbus bonus EZ

March 22, 2016 by bdh88, 6 weeks 2 days ago
Comment: 617

David John

March 30, 2016 by David John, 5 weeks 2 days ago
Comment: 804

I have a hard time describing my thoughts on content, but I really felt I should here. Your article is really great. british airways frequent flyer club

David John

April 21, 2016 by David John, 2 weeks 1 day ago
Comment: 1232

It’s my first time to commenting anyplace, when I got this post I thought I might also make comment due to the present wise post. smell absorbers

David John

April 17, 2016 by David John, 2 weeks 5 days ago
Comment: 1128

This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work! go here

David John

April 7, 2016 by David John, 4 weeks 21 hours ago
Comment: 952

This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work! Go After Your Passion

This article is very well

April 5, 2016 by monilark, 4 weeks 3 days ago
Comment: 883

This article is very well written and executed. The author have comprehend it very well .Theme of blog is excellent there is almost everything to read, Brilliant post. Neverwinter Astral Diamonds

David John

March 23, 2016 by David John, 6 weeks 2 days ago
Comment: 647

I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work! hungry shark evolution hack no survey

PECMAN

March 22, 2016 by ha91070, 6 weeks 3 days ago
Comment: 586

These are some great tools that i definitely use for SEO work. This is a great list to use in the future..
buy follower | buy targeted youtube views

very interesting page.

March 10, 2016 by paul33, 8 weeks 1 day ago
Comment: 458

very interesting page.
http://www.clash-games.com

The client server clashes are

March 9, 2016 by jhonson, 8 weeks 1 day ago
Comment: 440

The client server clashes are common in these game and it's wonderful article on how to overcome it. I was here for my custom research paper help and got through this blog. Extremely happy for it. I do remember things when i use to play my own game in my free time.

Vidmate app is very usefull

January 29, 2016 by Amit JD, 13 weeks 6 days ago
Comment: 236

Vidmate app is very usefull app to download youtube videos on your mobile and PC.If you want to download vidmate the click on the below link.
Vidmate APP Download
Download vidmate for pc Download

Wow… It will be fun to play

January 14, 2016 by Samalex, 16 weeks 1 day ago
Comment: 214

Wow… It will be fun to play snaxe in multiplayer mode. I never had tried this before and after seeing this screenshot, I wish to play the game. So, would we lose life, if we hit the snake of other player?
how to get a man bun