Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
I like the game cardboard game [codenames](https://en.wikipedia.org/wiki/Codenames_\(board_game\)) and now that COVID-19
is part of our life I have played a lot online with my friends on [this](https://www.horsepaste.com/) website. But I
realized that I want to play codename pictures instead. So I've decided to create my own.
![pictures_ingame.png](screenshots/pictures_ingame.png)
(Click [here](screenshots/README.md) for more in-game footage)

# Features

Expand Down Expand Up @@ -53,10 +55,13 @@ flask --app codenames run
| OPENAI_API_TOKEN | Your OPENAI API token | Yes | - |

## Create a new image

> If you already had images you want to import see [Import images](#import-images)

First you need an OpenAI API token. You can get one [here](https://platform.openai.com/). Make sure you have access to the `gpt-image-1` model.
To generate a new image you can use the script `tools/create_new_image.py`. Just execute and input your prompt. Do not include colors or styling in your prompt.
First you need an OpenAI API token. You can get one [here](https://platform.openai.com/). Make sure you have access to
the `gpt-image-1` model.
To generate a new image you can use the script `tools/create_new_image.py`. Just execute and input your prompt. Do not
include colors or styling in your prompt.
This is handled by the script. The script also unionize the background color and saves the images as a webp-file. Done.

## Add new words or languages
Expand Down Expand Up @@ -92,3 +97,5 @@ The filename does not matter. But the file extension and type has to be JPEG/JPG
# Credits

Created and maintained by Schluggi.

All images are generated by AI (gpt-image-1).
24 changes: 24 additions & 0 deletions screenshots/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Gallery

### Select Game
![img.png](select_game.png)

## Pictures

### New Game

![pictures_new_game.png](pictures_new_game.png)

### In-Game

![pictures_ingame.png](pictures_ingame.png)

### Spymaster

![pictures_spymaster.png](pictures_spymaster.png)

## Classic

### In-Game

![classic_ingame.png](classic_ingame.png)
Binary file added screenshots/classic_ingame.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/pictures_ingame.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/pictures_new_game.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/pictures_spymaster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/select_game.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.