This file contains 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
import math | |
from selenium import webdriver | |
from multiprocessing import Process, Lock, Array, Value | |
from multiprocessing.dummy import Pool as ThreadPool | |
maxX = 150 | |
maxY = 150 | |
steps = [8, 23, 38, 53, 68, 83, 98, 113, 128, 143] |
This file contains 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
import random | |
import sys | |
# Importing all the bots | |
from forty_game_bots import * | |
# Class for handling the game logic and relaying information to the bots | |
class Controller: | |
def __init__(self, bots_per_game, games, bots): |
This file contains 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
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.Bitmap.Config; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.graphics.PorterDuff.Mode; | |
import android.graphics.PorterDuffXfermode; | |
import android.graphics.Rect; | |
import android.graphics.drawable.BitmapDrawable; |