Giter VIP home page Giter VIP logo

kivy_contest_2014's Introduction

Chili Trios

Chili Trios was developed in kyvy, the crossplatform framework for NUI.

It is an app based in the classic pairs game, modified in order to help people learn how to pronounce different words in english and associate them with image representations and the writing of the word itself.

Credits

Sebastián López github.com/lopezz [email protected]

Jeyson Molina github.com/jeysonmc [email protected]

How to run

In order to run this app, you need the following:

  1. Python 2.7.x
  2. Pygame http://www.pygame.org/
  3. Kivy http://kivy.org/#download

Run main.py:

python main.py

How to play

Tap New Game and select from available card themes. Your goal is to match 3 cards (Image, text and audio) that represent the an object. You can also use some helpers:

  • Show cards: Show 5 random cards for a little while.
  • Guess object: Guess the object name and\n complete the trio (for image and audio cards only).

Kivy contest 2014

kivy_contest_2014's People

Contributors

lopezz avatar

Watchers

James Cloos avatar JM avatar  avatar

kivy_contest_2014's Issues

Sonido "chicharra" cuando se realize una acción prohibida

sonido “chicharra” acompañado de texto de error en la parte de abajo cuando suceda/se intente lo siguiente:
- Reiniciar while paused.
- Usar ayuda mientras esta pausado.
- Reiniciar cuando haya una ayuda activa.
- Usar una ayuda con remaining = 0.
- Falle Guess Object. (opcional)

Implementar reiniciar

  • resetear todo.
  • no deben haber ayudas activas
  • usar un boton u otro widget para llamarlo

Ejecutar ayuda 1 al presionar botón

luego de #8 al hacer click en el botón activar esa ayuda (helper) , defina una funcion que primero chequee que si se puede usar (helper.can_use) y luego activarla(helper.activate) . Esa funcion posiblemente se pueda usar para otros helpers así que definala apropiadamente para que se abstraiga fácil.

Tareas 2 parte 3

  1. ChiliPairsGame ya que es el widget padre debe ser un layout apropiado, sugiero heredar de boxlayout con orientación vertical.
  2. Encima del grid agregar un Label que llevará el nombre del set actual y luego otro Label que llevará el tiempo (solo hay que poner el label, la lógica del tiempo despues). Ambos deben tener id en el kv y estar referenciados en el código por medio de un objectproperty.

Implementar pausar

"Pausar" hace lo siguiente:

  • Detiene el contador de tiempo.
  • No admite los flips que hace el usuario (by_user=True)

Puede agregar un botón u otro widget que llame este pausar.

Tareas 2 parte 1

  1. Crear miembro a chilipairs game que sea una lista de sets disponibles, [set1, set2, etc.], cada set se representa con una tupla: ([Nombre set], [ruta_csv]).
  2. load_cards debe recibir como parametro set_id que es la posicion del set en la lista que definió y cargarla.
  3. randomizar la lista de filas cargada del set antes de agregarla al grid.

En el /los commit que resuelven este issue debe agregar "fixes #[issue]" donde [issue] es el id de esta tarea (e.g "fixes #1")

Agregar botones para ayudas

Los botones son para las siguientes ayudas:

  1. Mostrar Cartas. (see #6)
  2. Adivinar objeto. (see #7)
  • El texto del botón es el nombre de la ayuda.
  • Para la ayuda 1 mostrar entre paréntesis las ayudas restantes ( ej: nombre (2) )

Cambiar fuentes

Fuente ( y color) de los textos para:
- Cartas
- Botones
- informacion (top, alertas)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.