123456789101112131415161718192021222324 |
- #! /usr/bin/env python3
- import json
- GAMES = [
- {
- "description": "Old Fashioned Tic Tac Toe",
- "game_id": "ttt",
- "num_players": 2,
- "tie_possible": True,
- },
- ]
- def lambda_handler(event, context):
- return {"statusCode": 200, "isBase64Encoded": False, "body": json.dumps(GAMES)}
- def main():
- print("No CLI support.")
- if __name__ == "__main__":
- main()
|