[ GAME ] Hide and Seek2
h
Coder100 (8456)

Hide and Seek++

Have you ever shot at people in hide and seek? As a seeker, have you ever had to collect dots? And in both roles, have you ever had a set way of defining "score"?? Time limits?? Not at all! In this spin-off of the hide-and-seek, all those features will get incorporated! Hide-and-seek just got a lot more interesting!

About

This is the demo for a new game I am making, it will be multiplayer and you will have time limits and so much more! This is just a demo so I can get ideas and feedback :D

How to play

It is included in-game, but if you want:

  • Arrow keys to move
  • WASD to move
  • Hiders: Click to shoot

Questions

Why am I always a seeker?
Why don't you want to be a seeker smh
Don't worry--you will be able to be a hider in the full edition
What was it made in?
JavaScript and soon socket.io!

Updates

  • Special thanks to @GeneralBaker for pointing out the holes being unrealistic! I fixed it :)
  • Added 3 new hiding places! Sand, Pond, Log
  • Nerfed hider score

Credits

I could not make this game so awesome if not for the help of

Closing

Have fun!
Please comment below with answers to these questions:

  • is it laggy? What is the average framerate?
  • how long does it take to get to number 1 on the leaderboard?
  • are the colors good?
    Happy Seeking!
You are viewing a single comment. View All
WYLDYR (33)

Hi @Coder100 I made a little cheat very simple

// ==UserScript==
// @name         HideNSeekGod
// @namespace    http://tampermonkey.net/
// @version      69
// @description  Just a good gaming chair.
// @author       WYLD
// @match        https://game-hide-and-seek-preview-hehe-purpledecisivevalue.coder100.repl.co/
// @require      https://openuserjs.org/src/libs/sizzle/GM_config.js
// @grant        GM_getValue
// @grant        GM_setValue
// ==/UserScript==

var a=['Kill\x20All\x20Players','No\x20Obstacles','No\x20Reload','onkeydown','speed','init','reset','HideNSeekGod','noreload','reload','button','int','hasOwnProperty','coder100-you','get','Configure\x20Your\x20Gaming\x20Chair\x20(Z\x20to\x20open/press\x20save\x20in\x20game\x20to\x20activate)','checkbox','Speed\x20Hack'];(function(b,c){var d=function(e){while(--e){b['push'](b['shift']());}};d(++c);}(a,0x95));var b=function(c,d){c=c-0x0;var e=a[c];return e;};(function(){var g=b;'use strict';GM_config[g('0x0')]({'id':g('0x2'),'title':g('0xa'),'fields':{'noreload':{'label':g('0xf'),'type':g('0xb')},'nomap':{'label':g('0xe'),'type':g('0xb')},'speed':{'label':g('0xc'),'type':g('0x6'),'max':0x5,'min':0.6,'default':0.6},'killall':{'label':g('0xd'),'type':g('0x5'),'size':0x64,'click':function(){for(var e in playerClss){var f=playerClss[e];!(f['n']=='unnamed')&&delete playerClss[e];}}}},'events':{'save':function(){var h=g;if(GM_config[h('0x9')]('nomap'))playermap=[];playerClss[h('0x8')][h('0x11')]=GM_config[h('0x9')](h('0x11'));}}}),GM_config[g('0x1')](),GM_config['open'](),window[g('0x10')]=function(f){f['keyCode']==0x5a&&GM_config['open']();};var c={};function d(){var i=g;GM_config[i('0x9')](i('0x3'))&&(playerClss[i('0x7')](i('0x8'))&&(playerClss[i('0x8')][i('0x4')]=0x0));}setInterval(d,0xa);}());

it's tampermonkey, paste it there, good to go

Coder100 (8456)

but what does it do? @WYLDYR

Coder100 (8456)

ah, well, time to FOIL!!! @WYLDYR

Coder100 (8456)

hmm killing players doesn't work *phew* @WYLDYR

WYLDYR (33)

@Coder100 its gonna be tuff to use that obfuscated code
but good luck
i mean you could deobfuscate but that would be mean

WYLDYR (33)

@Coder100 also, you have to config it after you start a game
dont config in the menu

Coder100 (8456)

the obsfucated code I could not care less about, I'm just going to change how my variables get accessed @WYLDYR

WYLDYR (33)

@Coder100 NOT THE VARIABLES NOOOOOOOOOOOOOOOOOOOO

Codemonkey51 (865)

time to activate chrome debug and break the var acc prevention :) @Coder100

WYLDYR (33)

@Coder100 @Codemonkey51 well it lasted a whole 10 mins ig thats decent

xxpertHacker (388)

@Coder100 Seriously, obfuscation just makes everyone's life a whole lot harder, but it's still very possible to cheat, just don't make every single variable global.

Most JavaScript developers seem to be terrified of using this ancient feature from 2015, are you?

xxpertHacker (388)

@WYLDYR
a) I'm already working on a cheat script.
b) He's too scared; bet. I doubt anyone on his team is experienced enough to touch those.

WYLDYR (33)

@xxpertHacker for this? dope
but like if he didnt do it
let it be so its easier
also i didnt have the time to make any aim, did you get one working?

xxpertHacker (388)

@WYLDYR Whoa whoa, barely started static analysis of his code, checking the control flow and checking what's global.
I have a lot of stuff to do right now, so I might not even finish it, I haven't really started, so that script posted earlier is still better than what I have.

WYLDYR (33)

@xxpertHacker lmao "analysis"
just go big zoom

xxpertHacker (388)

@Coder100 Seriously, I cannot remember the last piece of JavaScript that I had written that wasn't a module, but it's up to you.

That last time I had even touched non-modularized code was to fork it and then modularize it. I'm dead serious.

It helps catch bugs (considering your code isn't being ran in strict mode), improves runtime performance, improves initial loading time (especially seeing as you aren't deferring or asynchronously loading your scripts), prevents cheats that access global variables, and much more.

Coder100 (8456)

hmm I'll consider, I was going to build this with webpack @xxpertHacker

Coder100 (8456)

I can't use real es6 'modules' because then p5.js wouldn't work @xxpertHacker

xxpertHacker (388)

@Coder100 Well, the options are all on you.
If I recall correctly, WebPack does wrap the code in an iffe, but if it changes the code to be backward compatible that might be problematic.

(I don't use WebPack because it's simply more work to do and setup. I write too much code too often to use WebPack all day)

xxpertHacker (388)

@Coder100 Why wouldn't it? p5.js can still bleed into the modules, just not the other way around.

Coder100 (8456)

hmm, I did test it before but the thing is p5.js uses these functions that have to be declared and something about modules doesn't like that @xxpertHacker

xxpertHacker (388)

@Coder100 Lol, I'll probably fork the code this weekend just to prove that it can be modularized.

xxpertHacker (388)

@Coder100 Welp, umm... that Repl doesn't like being forked or something, it just starts acting up and not loading, couldn't even touch the code, I'll try again later.