gorgh Posted June 1, 2021 Share Posted June 1, 2021 Hi there folks, I'm working since 2 weeks on a network game for Atari 8 bit computers. Basically it's a battleships game for up to 6 players. First you place ships on your territory and then you attack the oponnent's area. When you hit something it's displayed on your screen. The main engine is more or less ready, now I have to rewrite the server code because UDP transmission sometimes doesn't deliver all the data, and it's crucial that every player gets all the packages, so I'm switching to TCP. The gameplay starts at 2:00. The game will be submitted to ABBUC software contest 2021. 21 1 Quote Link to comment Share on other sites More sharing options...
myriadcs Posted June 1, 2021 Share Posted June 1, 2021 great news! networking games for a8 are flourishing :) 1 Quote Link to comment Share on other sites More sharing options...
Yautja Posted June 1, 2021 Share Posted June 1, 2021 Cool! Is this the very first original game written to take advantage of FujiNet? And, could it also be played using, say, DragonCart or else? - Y - 1 Quote Link to comment Share on other sites More sharing options...
gorgh Posted June 1, 2021 Author Share Posted June 1, 2021 I believe so, it's the first original game for Fujinet (the other is Midimaze if I recall correctly) I'm not familiar with DragonCart, but I will take a look 1 Quote Link to comment Share on other sites More sharing options...
Mr Robot Posted June 1, 2021 Share Posted June 1, 2021 8-bit slicks also has a (preview) version for fujinet http://8bit-slicks.com/?p=793 I think Warships is the first game (aside from test/proof of concept games) written specifically for fujinet! 3 Quote Link to comment Share on other sites More sharing options...
Mathy Posted June 1, 2021 Share Posted June 1, 2021 Hello guys 3 hours ago, gorgh said: I believe so, it's the first original game for Fujinet (the other is Midimaze if I recall correctly) Not sure if I got it right, but AFAIK FujiNet can simulate the MIDI-Mate interface. So the existing, unpatched software thinks it's talking to the MIDI-Mate interface while in reality it's talking to the FujiNet. Sincerely Mathy Quote Link to comment Share on other sites More sharing options...
gorgh Posted June 16, 2021 Author Share Posted June 16, 2021 Here's a footage by Misza showing 4 player mode Big thanks to Teddyboar, Dely, Misza, Bocianu, Santyago for a numerous testing sessions 3 Quote Link to comment Share on other sites More sharing options...
mozzwald Posted June 16, 2021 Share Posted June 16, 2021 On 6/1/2021 at 5:08 AM, gorgh said: The main engine is more or less ready, now I have to rewrite the server code because UDP transmission sometimes doesn't deliver all the data, and it's crucial that every player gets all the packages, so I'm switching to TCP This is great! Will you be sharing source code or binaries for the server? I'd love to host a server on fujinet.online. Quote Link to comment Share on other sites More sharing options...
danwinslow Posted June 16, 2021 Share Posted June 16, 2021 (edited) On 6/1/2021 at 8:57 AM, Yautja said: Cool! Is this the very first original game written to take advantage of FujiNet? And, could it also be played using, say, DragonCart or else? - Y - There are no completed CIO drivers for the DC that I know of. I posted a start that handled UDP and did things similar to the FujiNet, such as OPEN "I:UDP:192.168.0.1:44044" and so forth, but no one really continued it and I ran into real-life issues that took up all my time. The main difference between DC and Fujinet is that DC uses an on-cart cypress chip and direct memory transfer, whereas FujiNet uses an intelligent co-processor board with it's own TCP stack communicating across SIO. I had started off with a similar attempt, but I found the line delay of SIO to be too limiting for fast action games using UDP, which was really my target. DC has some support from a different OS...I forget the name right now but it's a linux-y multitasking OS that has a TCP stack that works with DC. Altirra has DC support, but just the hardware, not the driver stack. Anyway, FujiNet is a great piece of work, especially for TCP and anything that doesn't need really fast response. DC can theoretically outperform it but it's a moot question at this point, FujiNet is the way to go. If anyone feels like working on the DC drivers I had, just let me know and I'll send them to you. It's all in CA65 and supports extended memory for buffers, but as i said, UDP only. There's a TCP start but that's when I got sidetracked. So thats a lot of words to say : No. Looks like a great game, by the way! Nice. Edited June 16, 2021 by danwinslow 2 1 Quote Link to comment Share on other sites More sharing options...
gorgh Posted June 17, 2021 Author Share Posted June 17, 2021 14 hours ago, mozzwald said: This is great! Will you be sharing source code or binaries for the server? I'd love to host a server on fujinet.online. Once the game is ready I will share both source code and node js server 2 1 Quote Link to comment Share on other sites More sharing options...
gorgh Posted October 28, 2021 Author Share Posted October 28, 2021 Hi there folks, After couple weeks of hard work I managed to finish (I hope) playable version of the game. It wouldn't happen without Fujinet emulator, so firstable I wish to thanks people for making it, and bocianu for creating a tutorial. The game is a typical Battle Ships game for 2 of 4 players. There are 6 slots where other players wait for us, when the neccessary number of players is there the game begins. At the beginning we have to place our ships on our teritory, we have to remember about couple things though: -pressing space rotates the current ship -ships cannot be placed next to each other, there has to be at least one field empty between them -you cannot place ship on the land When everybody place their ships the game begins. The player has 12 seconds for shooting, after that time the round is passed to next player. The game ends when only one player still has his ships on the board. At any given moment the player can press ESC to go back to main menu. There's a chat where one can communicate with other players at any given moment (right part of the screen). The game was heavily tested by couple people, still it probably has some bugs, so this is 0.8 version (I would appreciate bug reports). At the end I wish to thank a lot to my friend Irata4 for donating his money as a game sponsor, and I wish also to say thanks to all the testers: -misza -bocianu -dely -teddyboar -santyago Without them the game wouldn't exist. --- Have a nice time with this game and please report any bugs that you will encounter. warships.xex 4 1 Quote Link to comment Share on other sites More sharing options...
gorgh Posted October 28, 2021 Author Share Posted October 28, 2021 oh I forgot about Tomas Cherryhomes, he was very helpful, and he also decided to host game server 1 Quote Link to comment Share on other sites More sharing options...
gorgh Posted October 28, 2021 Author Share Posted October 28, 2021 aspecially for mozzwald I upload also a sources and a node.js server warships.zip 1 Quote Link to comment Share on other sites More sharing options...
+Philsan Posted October 28, 2021 Share Posted October 28, 2021 Is there anyone online to play with me? Quote Link to comment Share on other sites More sharing options...
+Philsan Posted October 28, 2021 Share Posted October 28, 2021 I just enjoyed a game with @xrbrevin (I lost!). I would add a buzzer when someone joins. While waiting for people, I used the PC nearby my 800XL. After a one hour wait, it was by chance that I noticed xrbrevin joined. I would add comma and apostrophe characters to the chat, they do not work now. 3 Quote Link to comment Share on other sites More sharing options...
xrbrevin Posted October 28, 2021 Share Posted October 28, 2021 great fun and works fine! chat is great to do on the old hardware too. i was being thoroughly thrashed by @Philsan but just got lucky at the end ? if you could improve the gamefield graphics it would be more refined but maybe thats a job for the sequel? well done and thanks! 2 1 Quote Link to comment Share on other sites More sharing options...
gorgh Posted October 28, 2021 Author Share Posted October 28, 2021 (edited) glad to hear that folks! that's actually a very good idea to add sound to a game, I thought system sounds of SIO transmission have some kind of charm and roughness, but the regular sounds would be helpful. Speaking of refining the graphics- I will think about that, thanks. BTW I see that sources are being downloaded quite often, please do me a favour and in case you want to publish a game on your own server just rename the title, so people will know they are playing on different server (players can see each other only if they share a server) Edited October 28, 2021 by gorgh Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 30, 2021 Share Posted October 30, 2021 On 6/16/2021 at 3:40 PM, danwinslow said: There are no completed CIO drivers for the DC that I know of. I posted a start that handled UDP and did things similar to the FujiNet, such as OPEN "I:UDP:192.168.0.1:44044" and so forth, but no one really continued it and I ran into real-life issues that took up all my time. The main difference between DC and Fujinet is that DC uses an on-cart cypress chip and direct memory transfer, whereas FujiNet uses an intelligent co-processor board with it's own TCP stack communicating across SIO. I had started off with a similar attempt, but I found the line delay of SIO to be too limiting for fast action games using UDP, which was really my target. DC has some support from a different OS...I forget the name right now but it's a linux-y multitasking OS that has a TCP stack that works with DC. Altirra has DC support, but just the hardware, not the driver stack. Anyway, FujiNet is a great piece of work, especially for TCP and anything that doesn't need really fast response. DC can theoretically outperform it but it's a moot question at this point, FujiNet is the way to go. If anyone feels like working on the DC drivers I had, just let me know and I'll send them to you. It's all in CA65 and supports extended memory for buffers, but as i said, UDP only. There's a TCP start but that's when I got sidetracked. So thats a lot of words to say : No. Looks like a great game, by the way! Nice. The FujiNet has a "MidiMaze" mode that puts the device in a streaming mode and reflects UDP packets. This works well for action games, but it needs to be fleshed out a bit more to handle arbitrary clock rates. The SIO port is a bit interesting in that it can sync to external clock rates roughly 3 to 4 times faster than the internal clock can generate, so very high speed transfers are possible. -Thom 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.