Re: Most accessible web builders, let's list them
Re: Most accessible web builders, let's list them Django really isn't all that bad; you can get a lot done quickly with it. In terms of tools, all you need is a text editor, a terminal, and access to documentation for your framework. URL: https://forum.audiogames.net/post/553695/#p553695 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: How do I install BGT under Ubuntu-Wine?
Re: How do I install BGT under Ubuntu-Wine? I actually did get Adventure at C: working as an experiment back in the day, but I used bottles from winetricks. I forget which ones I used, sadly; games can be made to run, though. And adding in SAPI might make them speak. URL: http://forum.audiogames.net/viewtopic.php?pid=317892#p317892 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Research on videogame development for blind users
Re: Research on videogame development for blind users I wrote you an email. URL: http://forum.audiogames.net/viewtopic.php?pid=313600#p313600 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Let's Talk About Common Lisp!
Re: Let's Talk About Common Lisp! I used to think the same thing. It is much easier when you use an interface like SLIME for Emacs; it will keep track of your parenthesis, give you documentation for function calls, and a whole host of other things. URL: http://forum.audiogames.net/viewtopic.php?pid=307847#p307847 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Let's Talk About Common Lisp!
Let's Talk About Common Lisp! Hi,I heard about this awesome language from a friend in college. And it has been a joy to use, albeit a bit weird to get the syntax. Basically, instead of making a function call like foo(bar, baz, qux), you put the parenthesis out front and the function name first, with its arguments separated by white space. Here is how the aforementioned function call would look in real Lisp code:(foo bar baz qux)This means take foo, and apply it to the arguments bar baz and qux. Now how about a real example?Suppose that we want to implement the classic n! problem in Lisp. In the languages we know and love, this would look somewhat like this:def factorial(n): """ Return the factorial of n.""" if n <= 0: return 1 else: return n*factorial(n-1)Now, let's take this definition and make it Lispy!(defun factorial (n) "Return the factorial of n"< br /> (if (<= n 0) 1 (* n (factorial (- n 1)Now, I guess I've got some 'splaining to do.We'll take this chunk by chunk:1. The defun macro basically tells your Lisp interpreter "Okay, interpreter, the next thing is going to be called a function called factorial. It will take as an argument a number n."2. The "Returns the factorial of n" bit is a docstring, akin to what is in Python.3. Now, we get to the bit of code that does the heavy lifting. This (if (<= n 0) part is a call to the if function. Its first argument is a call to the <= function, to see if n is <= 0. Note, however, that I did not close off the if list; if I did this, the forms that follow would not evaluate.4. If the first condition, n <= 0 yields true, we simply return the atom 1 (atoms are essentially basic values in Lisp). This is the base case for our recursive call; 0! = 1 and we need to stop ther e, else we will recursively loop to infinity.5. Now, we get to the last bit of code.a. We'll start out by starting a call to the * function. Its first argument is the value we passed in originally, n.b. Now, we make a call to the factorial function.c. Then, we call the - function of n-1. Since n! is defined as n*(n-1)!, this is our recursive call.6. And now, we close off the lists of function calls; in Lisp, it seems to be customary to put all the closing parenthesis on the last line.And there you have it, an example of Lisp code. Not exactly revolutionary, but I think it might start an interesting discussion. To test the code and prove it, you'll need, naturally, a Lisp interpreter. As I am on Linux, I use SBCL, which I belive has been ported to Windows and Mac.Happy hacking! URL: http://forum.audiogames.net/viewtopic.php?pid=307570#p307570 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Writing TinTin++ Scripts
Writing TinTin++ Scripts Hi,I am planning to write an Aardwolf pack for TinTin++, but I don't know where to begin with scripting. Are there any good tutorials around that might give me pointers on where to start? URL: http://forum.audiogames.net/viewtopic.php?pid=303277#p303277 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Kali linux, How accessible is that?
Re: Kali linux, How accessible is that? My Skype link is still available I think. Once you have the distro installed, it works like Debian, so Speakup and/or Orca should start automatically on boot. URL: http://forum.audiogames.net/viewtopic.php?pid=298467#p298467 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Kali linux, How accessible is that?
Re: Kali linux, How accessible is that? Kali Linux has speakup vailable. At the boot prompt, press s and enter to get speakup to speak. As for installation, you may want to read the official Kali documentations; they will advise you as to how to operate the distro. URL: http://forum.audiogames.net/viewtopic.php?pid=297812#p297812 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: programming for android if you are blind?
Re: programming for android if you are blind? Interesting. If only this accessibility support worked in Linux, but I think that is the fault of java-atk-wrapper not working with JDK 8. URL: http://forum.audiogames.net/viewtopic.php?pid=29#p29 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Getting started with game developing
Re: Getting started with game developing Hmm. Print is not a syntax. That sounds like you are trying to write code in Python 2 when you should use 3, or 3 when you need to use 2. Check your library and ensure that you have the proper packages installed. URL: http://forum.audiogames.net/viewtopic.php?pid=289381#p289381 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
What Language Features Does Ruby Provide for Game Development
What Language Features Does Ruby Provide for Game Development Hi,In the world of Python, as I understand it, we have PyGame and I believe Pyglet may also be used for gaming. But given that I have used Python a lot in university, I want to try out something new and thus am choosing Ruby for now and I might write something in Haskell. I am curious: any audiogame devs ever used Ruby as a development language. If so, what neat and interesting gems did you use? URL: http://forum.audiogames.net/viewtopic.php?pid=288304#p288304 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Showing the Number of Correct but Out of Place Character in Java
Showing the Number of Correct but Out of Place Character in Java Hi,I have been working on this for quite some time now, and I'm devilishly stuck for no apparent reason. I am trying too put together a method that will, be given two arguments: one will be a correct string, and another will be a string that a user guesses. For example, if the computer churns out appel and the user enters papel, there are two incorrectly placed characters. But getting this idea down to code is proving to be a challenge. URL: http://forum.audiogames.net/viewtopic.php?pid=279540#p279540 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: How to Determine a Column Conflict in Python
Re: How to Determine a Column Conflict in Python Eurika! Thanks much, @magurp244. I now have a working solution. URL: http://forum.audiogames.net/viewtopic.php?pid=255027#p255027 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: How to Determine a Column Conflict in Python
Re: How to Determine a Column Conflict in Python I wonder if I can take your implementation of the eight queens and adjust it to fit an arbitrary m by n board?It looks like we're doing length(board)-1 for diagonal cases. Is this just an observation for this particular case, or would this actually work? Furthermore, how can you iterate over a tuple using a while loop? URL: http://forum.audiogames.net/viewtopic.php?pid=255022#p255022 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: How to Determine a Column Conflict in Python
Re: How to Determine a Column Conflict in Python Hmm. I think I confuse you a bit, my apoligies.The board is of arbritrary length, and we want a location of queens relative to the given location.diagonal_conflict([[True, True], [False, False]], 0, 1)My coords function would take this input and say that queens are at [(0, 0) (0, 1)] I am not sure of the requisite algebra to do next. URL: http://forum.audiogames.net/viewtopic.php?pid=254917#p254917 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: How to Determine a Column Conflict in Python
Re: How to Determine a Column Conflict in Python The object is to see if a queen occupies a diagonal that is in line with the specified (row, column) parameter. The queens are booleans, True means there is a queen, False means there is not a queen. URL: http://forum.audiogames.net/viewtopic.php?pid=254906#p254906 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
How to Determine a Column Conflict in Python
How to Determine a Column Conflict in Python Hello,I am trying to see if there is a column conflict given a board of queens and a given row and column. Aside from creating the function that returns a list of tuples of coordinates, I am stuck as to what to do next, which is quite laughable, as finding a row and column conflict were easy enough and my geometry skills are illuding me now. URL: http://forum.audiogames.net/viewtopic.php?pid=254791#p254791 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Removing First Duplicate in python
Re: Removing First Duplicate in python Awesome! Thanks much. URL: http://forum.audiogames.net/viewtopic.php?pid=252659#p252659 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Removing First Duplicate in python
Removing First Duplicate in python Hi gang. I have been driven insane by this for quite some time now. What we essentally want to do is remove the first duplicate in a string, but if there is space between characters, that would not be a duplicate. Thus, bookkeeper would return bokeper.My code that I have now doesn't do that, bookkeeper comes out bokepr, which is really close; I am missing that detail that brings the code to a nice conclusion.My code is as follows:remove_repeat(message): seen_chars = [] placeholder = [] for c in message: if c not in seen_chars: seen_chars.append(c) if c not in placeholder: placeholder.append(c) return placeholderI will change placeholder to a string as soon as i can figure out how to fix the nonconsecutive duplicate issue . URL: http://forum.audiogames.net/viewtopic.php?pid=252535#p252535 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Is Learning 2 Programming languages at once possible?
Re: Is Learning 2 Programming languages at once possible? It is very possible. I have learned three so far: C#, Java, and Python. I am now working on C++. URL: http://forum.audiogames.net/viewtopic.php?pid=218648#p218648 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Can Someone Help Me Rationalize This?
Can Someone Help Me Rationalize This? Hi guys. I want to make a command-line all-in-one package manager, which will check to see if you are using Ubuntu, Arch, Gentoo, etc. Then, you can use one command to install, upgrade, and search for packages. But whats the point? Why bother? I dont know.Heres a basic design moder:1) I will probably write this in Bash, unless anyone has a better solution.2) I want to have one command, probably UPM (Universal Package Manager) which will interface with Portage, apt-get, yum, pacman, etc.3) You will use switchers to search, install, update repositories, and upgrade packages. Something like upm -i firefor to install FireFox.But I cant rationalize with myself. I dont anticipate people using it, yet there is a compulsion to make it. And does anyone have a better design model? Im open to ideas. URL: http://forum.audiogames.net/viewtopic.php?pid=188787#p188787 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector