<commit_before>#-------------------------------------------------------------------------------
# Name:        Gomoku AI Project
# Purpose:
#
# Author:      <NAME>
#
# Created:     14/10/2012
# Copyright:   (c) <NAME> 2012
# Licence:     MIT License
#-------------------------------------------------------------------------------
import graphics
import game
import ui
import ai


state = game.GameState()
def main():
    #graphics.clear()
    #graphics.drawBoard(state)
    #ui.mainloop()
    money = 10
    count = 0
    for fives in xrange(3):
        for fours in xrange(3):
            for threes in xrange(4):
                for twos in xrange(6):
                    for ones in xrange(11):
                        if (fives * 6 + fours * 4 + threes * 3 + twos * 2 + ones) == money:
                            count += 1

    print str(count)
##    for i in xrange(10):
##        for ii in xrange(10):
##            state.play((i, ii), 'p')
##            graphics.clear()
##            graphics.drawBoard(state)

if __name__ == '__main__':
    main()<commit_msg>removed some old test-code and replaced it with proper gomoku code.<commit_after>#-------------------------------------------------------------------------------
# Name:        Gomoku AI Project
# Purpose:
#
# Author:      <NAME>
#
# Created:     14/10/2012
# Copyright:   (c) <NAME> 2012
# Licence:     MIT License
#-------------------------------------------------------------------------------
import graphics
import game
import ui
import ai


state = game.GameState()
def main():
    graphics.clear()
    graphics.drawBoard(state)
    ui.mainloop()
    for i in xrange(10):
        for ii in xrange(10):
            state.play((i, ii), 'p')
            graphics.clear()
            graphics.drawBoard(state)

if __name__ == '__main__':
    main()
{'fraction_non_alphanumeric': 0.2784184514003295, 'fraction_numerical': 0.025260845689181768, 'mean_word_length': 1.2246642246642248, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3035552', 'n_tokens_mistral': 528, 'n_tokens_neox': 489, 'n_words': 146}