Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanseah234 committed Aug 29, 2020
1 parent ff34e76 commit 4393f39
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 2 deletions.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import os
from flask import Flask
from flask import render_template, redirect
from docs.chess import WebInterface, Board
from flask import request
from docs.MoveHistory import MoveHistory
from copy import copy
from flask import Flask, render_template


# app = Flask(__name__ )
Expand All @@ -13,6 +13,7 @@
game = Board()
history = MoveHistory(10)


@app.route('/')
def root():
return render_template('index.html')
Expand Down
69 changes: 68 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ python = "^3.8"
flask = "^1.1.2"
python-chess = "^0.31.4"
fake-factory = "^9999.9.9"
flask-socketio = "^4.3.1"

[tool.poetry.dev-dependencies]

Expand Down

0 comments on commit 4393f39

Please sign in to comment.