Giter VIP home page Giter VIP logo

muser's Introduction

Muser

LatestRelease ReleaseDate LastCommit License UploadPackage Packaging CodeSize RepoSize


Introduction

This is a musical game which is made using pyxel and pygame.

Requirements

Run Directly (Recommended)

This method is more recommendable than Installation because the Installation method has not been tested yet and is currently expected to be raising errors.

git clone https://github.com/Qiufeng54321/muser
cd muser/muser
python game_setup.py # Only when first run
python main.py

Installation

git clone https://github.com/Qiufeng54321/muser
cd muser
pyxelpackager main.py

And then you can find the executable in the dist/ folder.

How to play

Intro

Click <Enter> to skip the intro

Sheet Selection

The sheets are detected in muser/assets/sheets/.
Default sheets are packaged in a separate .zip file which you can download through latest releases.
To install sheets, copy sheets folder in the packaged sheets to muser/assets/ under the root path.
You can select sheets using <Left> or <Right>.
For every sheet, there are selections of hardness level. You can use <Up> or <Down> to change the level.
Press <Space> to start the playthrough.

PlayThrough

  • You can see that there are three rings: red, blue and purple rings.
  • There are arrows during playthrough, coming from four directions: up, down, left, right.
  • The arrows move toward the center(where the rings are).
  • The player has to touch the corresponding key(arrow keys) at the exact time or the arrows will be missed
  • If the note is in the red ring when pressed, it will be a perfect note
  • If the note is not in the red ring but the blue one, it will be a great note
  • If the note is not in the blue ring but in the purple ring, it will be a bad note
  • If the note has passed the rings but the player hasn't pressed the corresponding key yet, then the note will be indicated as MISS
  • The total score is 100000.
  • There is a weight for each indicator:
  • perfect: 3
  • great: 2
  • bad: 1
  • For each note pressed by the player, the score will be increased by:
  • scoreToAdd = weight * 100000 / (weight * noteCount)

The player can quit the playthrough to go back to sheet selection cast using <Q> key.

Result

The player gets various grades in different ranges of score percentage:
S: score >= 95
A: 90 <= score < 95
B: 80 <= score < 90
C: 70 <= score < 80
D: 60 <= score < 70
F: 0 <= score < 60
The grade is shown in the center of the screen.
There are counters of perfects, greats, bads, and misses under the grade.
Press <Enter> to return to the sheet selection cast.

muser's People

Contributors

qiufeng54321 avatar thatch avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

muser's Issues

[Known bug] Game crash when configuring controls in settings

Describe the bug
illegal hardware instruction

To Reproduce
Steps to reproduce the behavior:

  1. Run the game
  2. Click <S> to go to settings
  3. Select any control settings
  4. Press <Enter> (start to record the keystrokes)
  5. See error

Expected behavior
It should be recording the keystroke.

Please complete the following information:

  • Device: MacBook Air 2015
  • OS: OSX 10.15.2
  • Version: v1.5-pre

Additional context
It is confirmed that the error is raised by the code in #369 in casts.py in commit 7c18618
listener.start() # start to listen on a separate thread

Depfu Error: No dependency files found

Hello,

We've tried to activate or update your repository on Depfu and couldn't find any supported dependency files. If we were to guess, we would say that this is not actually a project Depfu supports and has probably been activated by error.

Monorepos

Please note that Depfu currently only searches for your dependency files in the root folder. We do support monorepos and non-root files, but don't auto-detect them. If that's the case with this repo, please send us a quick email with the folder you want Depfu to work on and we'll set it up right away!

How to deactivate the project

  • Go to the Settings page of either your own account or the organization you've used
  • Go to "Installed Integrations"
  • Click the "Configure" button on the Depfu integration
  • Remove this repo (QiuFeng54321/muser) from the list of accessible repos.

Please note that using the "All Repositories" setting doesn't make a lot of sense with Depfu.

If you think that this is a mistake

Please let us know by sending an email to [email protected].


This is an automated issue by Depfu. You're getting it because someone configured Depfu to automatically update dependencies on this project.

Missing files in sdist

It appears that the manifest is missing at least one file necessary to build
from the sdist for version 1.2.1.2. You're in good company, about 5% of other
projects updated in the last year are also missing files.

+ /tmp/venv/bin/pip3 wheel --no-binary muser -w /tmp/ext muser==1.2.1.2
Looking in indexes: http://10.10.0.139:9191/root/pypi/+simple/
Collecting muser==1.2.1.2
  Downloading http://10.10.0.139:9191/root/pypi/%2Bf/2a9/74b4aef0af1ad/muser-1.2.1.2.tar.gz (19 kB)
    ERROR: Command errored out with exit status 1:
     command: /tmp/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-kk7u61ln/muser/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-kk7u61ln/muser/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-wheel-kk7u61ln/muser/pip-egg-info
         cwd: /tmp/pip-wheel-kk7u61ln/muser/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-wheel-kk7u61ln/muser/setup.py", line 32, in <module>
        with open("../README.md", "r") as fh:
    FileNotFoundError: [Errno 2] No such file or directory: '../README.md'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

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.