Skip to content

Instantly share code, notes, and snippets.

View jstolp's full-sized avatar
💭
Snake AI programming

StolpSyS jstolp

💭
Snake AI programming
View GitHub Profile
@jstolp
jstolp / snippit_snake.go
Last active April 11, 2021 07:26
Restecpah the sauce
/*** RULE 1: ReStekpah The Sauce! **/
//areYouTheBiggestAnd Healiest Snake? and +**HIDDEN*** health??? Don't go for a Sauce move!
// or inGoodStanding. Always avoid that Sauce
if game.You.Health > **HIDDEN*** || InGoodStanding(game) {
fmt.Printf("******* RULE 1 - ReStecpah THE SAUCE ****** \n\n")
func TestRoyaleRespectTheSauce(t *testing.T) {
@jstolp
jstolp / apns-samauto-send-push.php
Created January 4, 2020 17:04
APNs SamAuto PHP Push Script
<?php
use Lcobucci\JWT\Signer\Key;
use Lcobucci\JWT\Signer\Ecdsa\Sha256;
use Lcobucci\JWT\Configuration;
$config = $container->get(Configuration::class);
assert($config instanceof Configuration);
@jstolp
jstolp / composer.json
Created January 4, 2020 16:42
Samauto APNS PHP Composer.json
{
"name": "samauto/apns-push-script",
"description": "Apple push notifications with PHP",
"version": "0.1.0",
"type": "library",
"keywords": ["sales", "marketing", "automation"],
"homepage": "https://samauto.nl",
"time": "2020-01-04",
"license": "MIT",
"authors": [{