This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// popup.js | |
const menu = document.getElementById('menu'); | |
const gameContainer = document.getElementById('game-container'); | |
const backBtn = document.getElementById('back-btn'); | |
const gameArea = document.getElementById('game-area'); | |
let currentGameInstance = null; | |
const games = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<title>TopDown Shooter Multiplayer</title> | |
<style> | |
/* Reset and base */ | |
body, html { | |
margin: 0; padding: 0; height: 100%; overflow: hidden; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package top.archiem.bots; | |
import net.dv8tion.jda.api.*; | |
import net.dv8tion.jda.api.entities.*; | |
import net.dv8tion.jda.api.entities.channel.concrete.Category; | |
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel; | |
import net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel; | |
import net.dv8tion.jda.api.entities.channel.middleman.MessageChannel; | |
import net.dv8tion.jda.api.events.interaction.ModalInteractionEvent; | |
import net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent; |