Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

oGhostyyy's blog

By oGhostyyy, history, 8 months ago, In English

Recently, I made Battle CP!

It's pretty much Battleship meets competitive programming. My friends and I have had a great time playing it, and it's a really fun way to practice with others.

We even held a tournament at our college which was a great success. Huge thanks to the Coders' Club IIIT Kottayam for hosting the tournament, helping with playtesting, and providing valuable feedback!

Here is a basic overview of the game:

  1. Lobby: Create or join a lobby and invite a friend.
  2. Placement Phase: Each player places a fleet (standard 5 ships) on a 10×10 grid.
  3. Combat Phase: Players take turns firing at coordinates to try and sink ships.
  4. Heat Mechanic: Each shot increases your heat. When heat reaches the overheat threshold, your weapons lock!
  5. Unlocking Weapons: Solve a Codeforces problem shown in the Problem Panel to instantly unlock your weapons.
  6. Vetoes: You have a small number of limited vetoes that let you bypass a lock. However, you will get punished with a time penalty before receiving a new problem.

Win Conditions: - Sink all of your opponent's ships. - If time runs out, the player with the most ships sunk wins (if those are equal, the tiebreaker is the number of hits). - If still equal, you enter Sudden Death (first hit wins!).

You can read more detailed rules on the website's homepage.

I've done my best to make the game fun, problem-solving focused, and super customizable. I'd love some feedback from the community and hope you guys have a great time playing it!

  • Vote: I like it
  • +47
  • Vote: I do not like it

»
8 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by oGhostyyy (previous revision, new revision, compare).

»
8 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by oGhostyyy (previous revision, new revision, compare).

»
8 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by oGhostyyy (previous revision, new revision, compare).

»
8 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

make it a multiplayer so everyone can join each other and look for opponents

  • »
    »
    8 months ago, hide # ^ |
     
    Vote: I like it +1 Vote: I do not like it

    i'll definetly work on that if I see the user base growing, kind of hard justifying a proper multiplayer if the playerbase is not big enough. queue times would be way too long.

  • »
    »
    8 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Umm, i think thats a bad idea. Some nice person can make alt account, then see opponents boats. So thats bad idea

    Kanan oGhostyyy

    • »
      »
      »
      8 months ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      I dont get it, what do you mean? I was just thinking you hit queue, and if sm1 is online and also queuing you go into match making. how exactly would they see opponent boats with an alt?

»
8 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

This game is so fun!!!.

»
8 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Hi oGhostyyy, I am getting an error while creating the lobby

Application error: a server-side exception has occurred while loading battle-cp.vercel.app (see the server logs for more information). Digest: 338487837

  • »
    »
    8 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    I've been making changes on my azure configuration, it will be back up soon, thanks for replying

  • »
    »
    8 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Yes, it should be back up now

    • »
      »
      »
      8 months ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      Yes it works now, Thanks! Amazing idea for the game

      • »
        »
        »
        »
        8 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        thank you, I'd love it if you could share it with your friends, a larger base soon would allow me to add a multiplayer game mode.

        Difficulties are customizable btw, if you feel there are any UI elements whose purpose is ambigious / not obvious as first, please inform me.

        I've tried my best to make things pretty obvious though.

        • »
          »
          »
          »
          »
          8 months ago, hide # ^ |
           
          Vote: I like it 0 Vote: I do not like it

          I’ve only played one game so far, but I’d love to provide feedback. Let’s discuss further in DMs.