Skip to content

Instantly share code, notes, and snippets.

View shardulc's full-sized avatar

Shardul Chiplunkar shardulc

View GitHub Profile
W0e4 Ai2gp,
T7cw fvb, uic ks7'a2 6ax q7bx ki6.
-- B5tdh74
/x2
/qEN9G3LN4zYUWUNTY9WFNT1
/liFQTZvCI49FW3g7X59wKOvz15oy15r1MxHm6EoiD80JZ8Y6D09oIc6h0fYwH693vdcljVx93bW5F4l2vW+7e7ATx7r
/liFQTFzwKv1216Qy2I791yU22K602Ml9nBlB2K602Ml9nBlB2K602Ml9nBlB2K602Ml9nBlB2K602Ml9nBlB2K602Mm

Keybase proof

I hereby claim:

  • I am shardulc on github.
  • I am shardulc (https://keybase.io/shardulc) on keybase.
  • I have a public key ASDfxNlKWL-L204sKHyRY55cP0TwTOrsPHPQvhYcD7i2Dwo

To claim this, I am signing this object:

@shardulc
shardulc / lang_spec
Created May 10, 2017 01:27
Initial GoD language spec draft
statement := (declaration | assignment | call | control) '\n'
declaration := (('num' | 'str' | 'flag' | 'list' | 'func') ident)
| ('num' ident '=' numexpr)
| ('str' ident '=' strexpr)
| ('flag' ident '=' flagexpr)
| ('list' ident '=' listexpr)
| ('func' ident '=' funcexpr)
assignment := ident '=' expr
call := ident '(' params ')'
@shardulc
shardulc / spec_v1.1.md
Created February 18, 2017 07:49
Game of Death spec v1.1

The Game of Death

Specificiations for the Game of Death, version 1.1. Author shardulc, copyright 2015--17; permission is given to copy, distribute, modify, or otherwise use this document in any manner provided that this copyright and author notice is preserved and that these same permissions are granted to subsequent users.

High-Level Overview

The Game of Death is a real-time multiplayer strategy programming capture-the-flag game. The specific meaning of each of those adjectives is:

  • capture-the-flag: The primary objective of each team in the game is to capture or take possession of a 'flag', or within-game token, that belongs to an opponent team, and then to perform a specfied action with that flag. For the purposes of this game, all teams have a 'base' where the team's flag is kept, and a captured flag of an opponent team has to be brought to the capturing team's base to be counted. The game environment is given in more detail in the section "Game Environment".
@shardulc
shardulc / default.py
Created December 24, 2015 07:56
shardulc's phenny's default.py
nick = 'phenny'
host = 'irc.freenode.net'
port = 6667
ssl = False
ipv6 = False
channels = ['#punegeeks', '#apertium-testing']
owner = 'shardulc'
greetings = {'#punegeeks': 'Hello', '#apertium-testing': 'Hello'}
# password is the NickServ password, serverpass is the server password
@shardulc
shardulc / git log
Created December 20, 2015 17:25
Git log
commit 73472e7d526b7d9c93cde7af5116335a59098cd7
Merge: f6bb3ea f6f7512
Author: Shardul Chiplunkar <shardul.chiplunkar@gmail.com>
Date: Sun Dec 20 22:41:37 2015 +0530
Merge branch 'master' of https://github.com/shardulc/phenny
commit f6bb3eaf8c5257f18e2447683fb94eb6f5b23e24
Author: Shardul Chiplunkar <shardul.chiplunkar@gmail.com>
Date: Sun Dec 20 22:29:53 2015 +0530
@shardulc
shardulc / error.txt
Created December 13, 2015 06:03
Phenny error
svn: E175011: Unable to connect to a repository at URL 'http://sourceforge.net/p/apertium/svn'
svn: E175011: Repository moved temporarily to 'http://sourceforge.net/p/apertium/svn/HEAD/tree'; ple
ase relocate
Traceback (most recent call last):
File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1680, in close
self._parser.Parse("", 1) # end of data
xml.parsers.expat.ExpatError: no element found: line 3, column 0
During handling of the above exception, another exception occurred: