>> Finally, from a user experience point of view, it might be more logical to
>> make the keys w,a,s,z North, West,East and South respectively
>
>Most games use WASD, so user experience would be in favour of it
>compared to WASZ. There are a couple of reasons for this:
>
>You live and learn! :-)
> Finally, from a user experience point of view, it might be more logical to
> make the keys w,a,s,z North, West,East and South respectively since its a
> more logical correspondence to the compass points (assuming a standard
> QWERTY keyboard layout).
Most games use WASD, so user experience would
On 12/03/13 03:59, akuma ukpo wrote:
I have tried
def get_direction(self):
"""
whenever a key is pressed the character moves to
the direction corresponding to the key
"""
'North':w
'South': s
'East' : d
'West' : a
What d
On Mon, Mar 11, 2013 at 8:59 PM, akuma ukpo wrote:
> This is the problem
>
> Implement a function called get_direction which, on a particular character
> , gives the
> direction corresponding to that character.
Do you know how to write a test case for this function?
You had test cases for one o