Simple command line interactive game to practice German (or English) with simple short stories.

Related tags

Command Line GIF
Overview

Gif

With GIF you can practice German or English with short stories. The stories are written in an easy language, and you can interact with the characters. You can give commands or write something appropriate to some other character in the story. Give your best to guide your characters through their adventure!

The commands or things your characters say should also be written in a simple language. Examples are: 'Go right', 'Enter the house', 'What's in the basket' and so on. In case you don't know what you should write, you can find all possible commands in the Help page.

In this version there is only one short story available: Little Red Riding Hood.

This Read Me is under construction 🙄 😵‍💫 😬

Comments
  • Loop infinito

    Loop infinito

    https://github.com/pedrohgmuniz/GIF/blob/d512baa197b1c0c7d8f01d88aea609fc534cdc47/Sources/Gif/main.swift#L64

    Quando coloca-se uma entrada que não está entre as entradas válidas, o sistema fica realizando print("Du musst '1', '2' oder '3' typpen (You must type '1', '2' or '3'") infinitamente. Para desfazer esse loop infinito, você poderia colocar a leitura de "input1" dentro do while.

    opened by BeatrizLdS 1
  • Sugestão na Documentação

    Sugestão na Documentação

    Parabens pelo seu trabalho em swift. Gostaria que a documentação fosse mais detalhada. Link que pode ajudar:

    https://www.alura.com.br/artigos/escrever-bom-readme?gclid=CjwKCAjwxZqSBhAHEiwASr9n9O1MRDXbxV8XY_YuOBsJAmQR06FyZ0inSozAyEUxXs4WObq_jmyhzxoCYlsQAvD_BwE

    opened by MoysesAz 0
  • Sugestão

    Sugestão

    Seu código está muito massa, mas está muito longo. Inclusive, foi o que comentaram no meu, por isso estou repassando.

    https://github.com/pedrohgmuniz/GIF/blob/d512baa197b1c0c7d8f01d88aea609fc534cdc47/Sources/Gif/StoryLineEN.swift#L553-L575

    Você pode fazer várias funções em outro diretório apenas para esses prints, teu código teria menos da metade, mais limpo e não iria precisar de tanta memória para rodar.

    opened by NarelyLima 0
  • GIF comment 🎉

    GIF comment 🎉

    Pedro, eu amei muito a sua proposta, principalmente o fato de ajudar a desenvolver o Inglês ou o Alemão 😍 Gostaria de saber o que significa lowercased(), que tem tanto na StoryLineEN como na StoryLineDE. Segue abaixo um exemplo:

        let answer1 = readLine()?.lowercased()
    
    opened by SarahMadalena 0
  • recebimento da variável do switch case

    recebimento da variável do switch case

    Oie Pedro, adorei seu código! Minha sugestão é que você diminua as possibilidades o recebimento da variável do switch case de acordo com as opções do menu.

    https://github.com/pedrohgmuniz/GIF/blob/d512baa197b1c0c7d8f01d88aea609fc534cdc47/Sources/Gif/main.swift#L62

    Aqui está um exemplo que como você pode fazer minha sugestão:

    var teste = readLine()
            while true {
                if (Int(teste!) == nil) || (Int(teste!)! >= 5) || (Int(teste!)! <= 0) {
                    print ("Valor invalido, digite de 1 a 5 pra acessar o valor de opcão: \n")
                    teste = readLine()
                }else{
                    break
                }
    ´´´´
    opened by rainarodrigues 0
  • Sugestão de reação da mãe a uma resposta de não entendimento da filha.

    Sugestão de reação da mãe a uma resposta de não entendimento da filha.

    https://github.com/pedrohgmuniz/GIF/blob/d512baa197b1c0c7d8f01d88aea609fc534cdc47/Sources/Gif/StoryLineEN.swift#L87

    Caso o jogador responda negativamente a pergunta " Understood?" da mãe o jogo retorna ao começo, talvez a mãe pudesse pronunciar alguma explicação como reação a resposta negativa.

    opened by BeatrizLdS 0
Owner
Pedro Muniz
Prof. of Philosophy at UECE; Apple Developer Academy 22-23 at IFCE. Interests include Philosophy of Language, Logic, Cognitive Science, NLP.
Pedro Muniz
Simple & Elegant Command Line Interfaces in Swift

An elegant pure Swift library for building command line applications. Features Tons of class, but no classes. 100% organic pure value types. Auto gene

hypertalk 52 Nov 9, 2022
Simple & Elegant Command Line Interfaces in Swift

An elegant pure Swift library for building command line applications. Features Tons of class, but no classes. 100% organic pure value types. Auto gene

hypertalk 52 Nov 9, 2022
Compose beautiful command line interfaces in Swift

Commander is a small Swift framework allowing you to craft beautiful command line interfaces in a composable way. Usage Simple Hello World i

Kyle Fuller 1.5k Dec 29, 2022
CommandLineKit - A pure Swift library for creating command-line interfaces

CommandLineKit A pure Swift library for creating command-line interfaces. Note: This project is no longer maintained. It's preserved here for historic

Ben Gollmer 1.1k Dec 1, 2022
Swiftline is a set of tools to help you create command line applications

Swiftline is a set of tools to help you create command line applications. Swiftline is inspired by highline Swiftline contains the following: Colorize

Omar Abdelhafith 1.2k Dec 29, 2022
A Mac command-line tool that generates kick-ass Jamf Pro reports.

KMART - Kick-Ass Mac Admin Reporting Tool A command-line utility generating kick-ass Jamf Pro reports: Features Reporting on the following Jamf Pro ob

Nindi Gill 86 Dec 15, 2022
ipatool is a command line tool that allows you to search for iOS apps on the App Store and download a copy of the app package, known as an ipa file.

ipatool is a command line tool that allows you to search for iOS apps on the App Store and download a copy of the app package, known as an ipa file.

Majd Alfhaily 3k Dec 30, 2022
iOS command-line tool that allows searching and downloading ipa files from the iOS App Store

ipatool for iOS This is a port of Majd Alfhaily's ipatool adapted to run on iOS Build / Installation To build this, make sure you have AppSync install

dan 21 Sep 13, 2022
A nifty command-line tool to customize macOS icons

iconset A nifty command line tool to manage macOS icons iconset is a new command line tool for macOS that allows you to change icons for macOS apps (e

aarnav tale 32 Nov 17, 2022
The best command-line tool to install and switch between multiple versions of Xcode.

The best command-line tool to install and switch between multiple versions of Xcode.

Robots and Pencils 2.3k Jan 9, 2023
Command Line Tool for interacting with MachO binaries on OSX/iOS

inject inject is a tool which interfaces with MachO binaries in order to insert load commands. Below is its help. ➜ ./inject -h OVERVIEW: inject v1.0.

<script>alert('1')</script> 36 Dec 23, 2022
ips2crash is a macOS command line too to convert a .ips file to a legacy .crash log file.

Synopsis ips2crash is a macOS command line too to convert a .ips file to a legacy .crash log file. Motivation It should be possible to read .ips file

null 36 Nov 25, 2022
CookCLI is provided as a command-line tool to make Cook recipe management easier

CookCLI is provided as a command-line tool to make Cook recipe management easier, and enable automation and scripting workflows for the CookLa

null 523 Dec 29, 2022
Adjust the volume from the command line on macOS.

volume Adjust the volume from the command line on macOS. Installation Using Mint: mint install meowmeowmeowcat/[email protected] Usage USAGE: volume <numb

meowmeowcat 3 Sep 28, 2022
A Mac command-line tool that automatically downloads macOS Installers / Firmwares.

MIST - macOS Installer Super Tool A Mac command-line tool that automatically downloads macOS Installers / Firmwares: Features List all available macOS

Nindi Gill 483 Jan 8, 2023
macOS command line tool to return the available disk space on APFS volumes

diskspace Returns available disk space With the various APFS features the value for free disk space returned from tools such as du or df will not be a

Armin Briegel 131 Nov 14, 2022
Command-line utility that checks comments for localizations in iOS interface files (.xib, .storyboard)

Localizations Comments Checker It's really easy to overlook and don't add comment for localization in interface file (.storyboard or .xib). This comma

Bikemap 0 Nov 5, 2021
A command-line tool to generate a JSON-list of all used SPM-dependencies of an Xcode-project.

SwiftPackageList A command-line tool to generate a JSON-list of all used SPM-dependencies of an Xcode-project. This includes all the Package.resolved

Felix Herrmann 14 Jan 8, 2023
View Metal GPU information from the command-line.

View Metal GPU information from the command-line.

Kenneth Endfinger 7 Dec 2, 2022