Giter Club home page Giter Club logo

cmcmarrow / tamcolors Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 6.0 111.26 MB

tamcolors is a terminal game library which supports multiplayer and audio. tamcolors gives a buffer which lets the user set the character, foreground color and background color which can draw at a stable FPS of 25 on all supported console.

License: Apache License 2.0

Python 95.97% C++ 3.76% Makefile 0.10% Batchfile 0.14% Shell 0.03%
api audio c colors console cpp library linux macos multiplayer python terminal terminal-colors windows

tamcolors's People

Contributors

alextop99 avatar charlesmcmarrow avatar cmcmarrow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tamcolors's Issues

add dungeon demo

add a cool dungeon demo. This example should be a fun mini game that takes place in a dungeon.

CMD crash

Describe the bug
Shrink and Grow the Windows really fast for about 45 sec.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Version Report

  • OS: Windows
  • OS Version: 10
  • tamcolors Version: master
  • shell: cmd &PowerShell

test

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Version Report

  • OS: [e.g. Windows, Ubuntu]
  • OS Version: [e.g. 10, 20.04]
  • tamcolors Version: [e.g. 1.0.2, 0.2.0]
  • shell: [e.g. cmd, PowerShell]

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

add TCP IO (dummy console)

This will let a computer connect to a host computer and draw buffers sent from the host and send key input to the host.

fix exit clear

when tam loop is done clear will happen before all colors are reset

Add IO event bus

Add IO event bus. This will make tam loop only use the main thread. As well we can make multiplayer faster!

skip 1.1.2 and go to 1.1.3

I accidentally loaded 1.1.2 Mac packages to pypi instead of 1.1.1. So 1.1.2 can’t be use now. So the next release will in 1.1.3

add new color mode "MODE_16_PAL_256"

The mode will support 16 colors at a time and will let you switch out the colors with the 256 color palette. This mode will work in Linux, Mac and Windows.

This mode is need it because it will be the most capable mode fully supported by all supported platforms.

support German, French, ... Keyboards

support German, French and Japanese Keyboards.

People will be able to get the keyboard name
ENGLISH: "ENGLISH"
German: "GERMAN"
French: "FRENCH"
Japanese "JAPANESE"
Unknow "UNKNOWN"

Most key board input will be supported

save/rest Windows buffer size on exit

When you clear the windows console the buffer is changed to fit the windows dimensions. This needs to be changed so the windows buffer size is kept.

add sandy check example

add a new example that will flex all of tamcolors features so the programmer can get visual confirmation that tamcolors is working

Get color mode 256 and mode 16 colors to match more.

Note you cant do this ticket in Windows. This ticket must be done in Mac or Linux. This is because Windows does not support color mode 256
Using tamcolors.examples.colors.examples.run() please find mode_16colors that fit mode_256. Use the esc key to change modes.

The colors that need to be changed is here in tamcolors.tam_io.tam_colors.py

Color(mode_16, mode_256, mode_rgb)
For example COLOR_98 = Color(5, 98, RGBA(135, 95, 215)) you might need to change the 5 to a 6 because it matches mode_256 better.

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.