niavlys / memorykivy Goto Github PK
View Code? Open in Web Editor NEWa memory game written for kivy
a memory game written for kivy
Hi! When I run main.py I've got this error:
[INFO ] [Kivy ] v1.9.1
[INFO ] [Python ] v3.6.1 |Continuum Analytics, Inc.| (default, Mar 22 2017, 20:11:04) [MSC v.1900 64 bit (AMD64)]
[INFO ] [Factory ] 179 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_sdl2 (img_pil, img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [OSC ] using for socket
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] OpenGL version <b'4.3.0 - Build 20.19.15.4531'>
[INFO ] [GL ] OpenGL vendor <b'Intel'>
[INFO ] [GL ] OpenGL renderer <b'Intel(R) HD Graphics 4600'>
[INFO ] [GL ] OpenGL parsed version: 4, 3
[INFO ] [GL ] Shading version <b'4.30 - Build 20.19.15.4531'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <32>
[INFO ] [Shader ] fragment shader: <b"WARNING: 0:7: '' : #version directive missing">
[INFO ] [Shader ] vertex shader: <b"WARNING: 0:7: '' : #version directive missing">
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Audio ] Providers: audio_sdl2 (audio_ffpyplayer ignored)
Traceback (most recent call last):
File "C:/dev/memoryKivy-master/main.py", line 429, in
MyAnimalsApp().run()
File "C:\Users\abertozo\AppData\Local\Continuum\Anaconda3\envs\k36\lib\site-packages\kivy\app.py", line 802, in run
root = self.build()
File "C:/dev/memoryKivy-master/main.py", line 402, in build
pb = MyPb(max=items, size_hint=(0.55,1),ml=g)
File "C:\Users\abertozo\AppData\Local\Continuum\Anaconda3\envs\k36\lib\site-packages\kivy\uix\progressbar.py", line 40, in init
super(ProgressBar, self).init(**kwargs)
File "C:\Users\abertozo\AppData\Local\Continuum\Anaconda3\envs\k36\lib\site-packages\kivy\uix\widget.py", line 312, in init
super(Widget, self).init(**kwargs)
File "kivy_event.pyx", line 254, in kivy._event.EventDispatcher.init (kivy_event.c:5305)
TypeError: object.init() takes no parameters
Could you help me?
Thanks!
replace:
s = i.split(".png")[0].split('/')[1]
with this:
s = i.split(".png")[0].split(os.path.sep)[1]
so it works on windows too...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.