Skip to content

Instantly share code, notes, and snippets.

View labohkip81's full-sized avatar
😎
The wise are guided by reason

Laban labohkip81

😎
The wise are guided by reason
View GitHub Profile
const { Client, Session } = require("./nakama-js.umd");
const { GAME_CONFIG } = require('./Config');
const { Game } = require('./core/checkers');
const { gamebot } = require('./core/gamebot');
const fs = require('fs');
const { ACCOUNT_INFO } = require('./Config');
const BOT_STATE = {
UN_USE: 0,
ACTIVE: 1,

Draft King

checker game created using cocos creator 2.4.5. Game server is implemented using nakama. And bots are written in js and host in node

FileStructure

. ├── client #cocos creator (TS)
├── DraftkingAI # bot code (JS)

@labohkip81
labohkip81 / index.html
Created March 17, 2022 13:40
Select element replacement example - selectize.js
<form>
<label>Single selection
<select>
<option value="0">Zero</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
<option value="4">Four</option>
</select>
</label>
from locust import HttpUser, task, between
class HelloWorldUser(HttpUser):
wait_time = between(0.5, 2.5)
@task
def hello_world(self):
self.client.get('https://elections.citizen.digital/')