[wip] colisions
This commit is contained in:
parent
40068bfb57
commit
0033956ca1
5 changed files with 75 additions and 47 deletions
|
|
@ -17,7 +17,7 @@
|
|||
<div id="batleft" class="pong-batleft bg-amber-400 top-0"></div>
|
||||
<div class="pong-center-line"></div>
|
||||
<div id="batright" class="pong-batright bg-amber-400 top-0"></div>
|
||||
<div id="ball" class="w-16 h-16 rounded-full border-4 bg-white border-gray-400"></div>
|
||||
<div id="ball" class="w-8 h-8 rounded-full border-4 bg-white border-gray-400"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,10 @@ export const color = {
|
|||
reset: '',
|
||||
};
|
||||
|
||||
// TODO: local game (2player -> server -> 2player : current setup)
|
||||
// TODO: tournament via remote (dedicated queu? idk)
|
||||
//
|
||||
|
||||
// get the name of the machine used to connect
|
||||
const machineHostName = window.location.hostname;
|
||||
console.log('connect to login at %chttps://' + machineHostName + ':8888/app/login',color.yellow);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue