diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4d63bf --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +# Build +build/* + +# Visual Studio Code +.vscode/* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..934e789 --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +# -------------------------------------------------------------------------------- +# Wiirdle Makefile +# +# Copyright (C) 2022 HTV04 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# -------------------------------------------------------------------------------- + +build: + rm -rf build + mkdir -p build/sd/apps/wiirdle + + cp -r res/* build/sd/apps/wiirdle + cp -r src build/sd/apps/wiirdle/data + +release: build + cd build/sd; zip -r -9 ../wiirdle.zip . diff --git a/README.md b/README.md index 5433f9a..b4192dc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ -# wiirdle -A Wordle clone for the Wii, powered by WiiLÖVE +# ![Wiirdle logo](images/logo.png) +Wiirdle is a [Wordle](https://www.nytimes.com/games/wordle/index.html) clone for the Wii, powered by the [WiiLÖVE](https://github.com/HTV04/wiilove) framework. + +Every day, you will have six attempts to guess a five-letter word, with feedback given for each guess indicating when letters match or occupy the correct position. + +*Wordle* by Josh Wardle and the New York Times. Play the original game [here](https://www.nytimes.com/games/wordle/index.html)! + +# Screenshot +![Wiirdle screenshot](images/screenshot.png) diff --git a/images/logo.png b/images/logo.png new file mode 100644 index 0000000..b4b9f4c Binary files /dev/null and b/images/logo.png differ diff --git a/images/screenshot.png b/images/screenshot.png new file mode 100644 index 0000000..c6cf517 Binary files /dev/null and b/images/screenshot.png differ diff --git a/res/boot.dol b/res/boot.dol new file mode 100644 index 0000000..feb2d1b Binary files /dev/null and b/res/boot.dol differ diff --git a/res/icon.png b/res/icon.png new file mode 100644 index 0000000..c46533e Binary files /dev/null and b/res/icon.png differ diff --git a/res/meta.xml b/res/meta.xml new file mode 100644 index 0000000..2d2e4c9 --- /dev/null +++ b/res/meta.xml @@ -0,0 +1,12 @@ + + + Wiirdle + 1.0.0 + HTV04 + Wordle clone for the Wii + Wiirdle is a Wordle clone for the Wii, powered by the WiiLÖVE framework. + +Every day, you will have six attempts to guess a five-letter word, with feedback given for each guess indicating when letters match or occupy the correct position. + +"Wordle" by Josh Wardle and the New York Times. + diff --git a/src/main.lua b/src/main.lua index f3e02b4..c266a0d 100644 --- a/src/main.lua +++ b/src/main.lua @@ -114,7 +114,7 @@ function love.load() binser = require("lib.binser") curDate = date() - firstDate = date(2022, 4, 2) + firstDate = date(2022, 4, 16) day = math.floor(date.diff(curDate, firstDate):spandays()) words = require("data.words") solutions = require("data.solutions")