Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GamerScript Logo

🎮 GamerScriptCode Like a Pro Gamer!

Welcome to GamerScript, the programming language for those who speak fluent gamer! 🕹️ Level up your coding with clutch keywords, epic functions, and a syntax that feels like a boss fight.

The GamerScript interpreter is built in C#, making it fast and reliable. ⚡


🚀 Features

  • 🏹 Easy-to-read syntax: Replace boring keywords with gamer lingo.
  • 🛠 Custom functions: Define and spawn functions effortlessly.
  • 🎭 Conditional statements: Make decisions with clutch, retry, and ragequit.
  • 🔄 Loops: Farm XP (or variables) with ease.
  • 🎮 Buff or nerf: Level up or down your variables.

📜 Keywords

GamerScript Traditional 📝 Example
dlc function dlc hello() { taunt("Hi!"); }
loot var loot score = 0
clutch if clutch buffed { taunt("Win!"); }
retry elif retry condition { taunt("Retry!"); }
ragequit else ragequit { taunt("GG!"); }
buffed true loot isPro = buffed
nerfed false loot isNoob = nerfed
taunt print taunt("You Died!")
quest input loot name = quest("Your name?")
farm while farm i < 5 { buff i }
spawn return spawn loot
afk sleep (seconds) afk(2)
lag sleep (milliseconds) lag(500)
buff (++) Increment buff score
nerf (--) Decrement nerf score
stat toNumber loot hp = stat("100")
chat toString loot msg = chat(123)
patch toBool clutch patch(x) { taunt("Patched!") }
gameover exit gameover(0)

🏗️ Code Examples

📣 Hello, World!

xX Display a greeting message Xx
taunt("Hello, World!")

🛠️ Functions and Returns

dlc greet(player) {
    taunt("Welcome, " + player + "!")
}

dlc add(x, y) {
    spawn x + y  xX Return the sum Xx
}

greet("Gamer")
taunt("Score: " + add(10, 5))

Output:

Welcome, Gamer!
Score: 15

🔄 Loops (Farming)

loot i = 1

farm i <= 5 {
    taunt("Level " + i)
    buff i  xX Increase level Xx
}

Output:

Level 1
Level 2
Level 3
Level 4
Level 5

💤 AFK (Sleep)

taunt("Boss incoming...")
afk(2)  xX Wait for 2 seconds Xx
taunt("Fight!")

Output:

Boss incoming...
... (waits 2 seconds)
Fight!

Power Up Your Code!

GamerScript makes coding feel like a speedrun with quick-to-read syntax and gamer-inspired keywords. No more boring if and while — it’s all about the clutch and the farm! 🏆

GG, EZ! 🎉

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages