Remove challanges
Since they are partly broken because the challenge description itself points to not existing internet resources.
This commit is contained in:
@@ -51,7 +51,7 @@ DieHandleTest >> testRoll [
|
|||||||
{ #category : #tests }
|
{ #category : #tests }
|
||||||
DieHandleTest >> testSimpleHandle [
|
DieHandleTest >> testSimpleHandle [
|
||||||
|
|
||||||
self assert: 2 D20 diceNumber equals: 2
|
self assert: 2 D20 equals: 2
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #tests }
|
{ #category : #tests }
|
||||||
|
@@ -1,19 +0,0 @@
|
|||||||
Class {
|
|
||||||
#name : #Challenge0,
|
|
||||||
#superclass : #Object,
|
|
||||||
#instVars : [
|
|
||||||
'response'
|
|
||||||
],
|
|
||||||
#category : #MyCounter
|
|
||||||
}
|
|
||||||
|
|
||||||
{ #category : #actions }
|
|
||||||
Challenge0 >> fetch [
|
|
||||||
|
|
||||||
response := ZnEasy getPng: 'http://pharo.org/files/pharo.png'.
|
|
||||||
]
|
|
||||||
|
|
||||||
{ #category : #actions }
|
|
||||||
Challenge0 >> open [
|
|
||||||
response asMorph openInWorld
|
|
||||||
]
|
|
@@ -1,22 +0,0 @@
|
|||||||
Class {
|
|
||||||
#name : #Challenge1,
|
|
||||||
#superclass : #Object,
|
|
||||||
#instVars : [
|
|
||||||
'response'
|
|
||||||
],
|
|
||||||
#category : #MyCounter
|
|
||||||
}
|
|
||||||
|
|
||||||
{ #category : #actions }
|
|
||||||
Challenge1 >> fetch [
|
|
||||||
|email url asHex|
|
|
||||||
email := MD5 new hashMessage: 'belka@caraus.de'.
|
|
||||||
asHex := email hex asString.
|
|
||||||
url := 'http://www.gravatar.com/avatar/', asHex, '.jpg'.
|
|
||||||
response := ZnEasy getJpeg: url
|
|
||||||
]
|
|
||||||
|
|
||||||
{ #category : #actions }
|
|
||||||
Challenge1 >> open [
|
|
||||||
response asMorph openInHand
|
|
||||||
]
|
|
Reference in New Issue
Block a user