Skip to content

Commit

Permalink
Merge branch 'codergautam:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
sk337 authored Feb 12, 2024
2 parents ecdc34d + 0bb0351 commit f352f32
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# End of Support

It's been a long journey of me maintaining this [mess of a codebase](https://iogames.forum/t/announcing-swordbattle-io-v2-0/2484) for 2+ years and I think it's time to move on... I will no longer be actively maintaining the legacy codebase.

The adventure doesn't stop here! Check out the new and updated swordbattle code [here](https://github.com/codergautam/swordbattle.io)!


# Welcome!

Swordbattle.io is a multiplayer game where players fight each other with diffrent 2D swords, and try to gain coins. The more coins you have, the bigger and powerful you get! Try to become the biggest of them all.
Expand Down
2 changes: 1 addition & 1 deletion moderation.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const PlayerList = require("./classes/PlayerList");
const { timingSafeEqual } = require("crypto");
const tokenBuf=Buffer.from(process.env.TOKEN);
const tokenBuf=Buffer.from(process.env.TOKEN ?? '');
const tokenBufLen=Buffer.byteLength(tokenBuf);
/**
* Validate the token that the user provides.
Expand Down
4 changes: 2 additions & 2 deletions src/promo.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<h1>
What's new?
</h1>
<h2>Last update: Nov 23 2023</h2>
<h2>Last update: Nov 23 2023<br><b>V2 will be released Friday, Dec 22</b></h2>

<iframe width="380" height="190" src="https://www.youtube.com/embed/iPQ7iZYWqBY?si=XZu8G04qUuJVsBnx" style="position: static; width: 380px; height: 210px;" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<br/>
<a class="primary-link" target="_blank"
Expand Down

0 comments on commit f352f32

Please sign in to comment.